diff options
Diffstat (limited to 'src/device-common.h')
-rw-r--r-- | src/device-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device-common.h b/src/device-common.h index 398c5a1..dc0fe28 100644 --- a/src/device-common.h +++ b/src/device-common.h @@ -3,6 +3,7 @@ #include "device.h" #include "vector.h" +#include <net/if.h> #include <netinet/ether.h> #include <netinet/in.h> @@ -26,6 +27,7 @@ typedef struct _device_common { uint16_t mtu; ipaddr_prefix_vector_t addrs; + char master[IF_NAMESIZE]; } device_common_t; bool device_common_process_config(device_common_t *device, struct json_object *config); |