diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-06-01 19:10:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-06-01 19:10:17 +0200 |
commit | 29f3ef36af7bb387a51fe8ad968d9770d3b54a6d (patch) | |
tree | 82509a3a4792010f27395ec99e57b6dfcf45f3fd /src/device-common.h | |
parent | 8d15854eb57c8a16523a986aa72e3a2c993a8c50 (diff) | |
download | neco-29f3ef36af7bb387a51fe8ad968d9770d3b54a6d.tar neco-29f3ef36af7bb387a51fe8ad968d9770d3b54a6d.zip |
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); |