summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 67ca41b8a4..6a00175157 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -134,9 +134,10 @@ struct NetDev {
unsigned ttl;
unsigned tos;
- struct in_addr local;
- struct in_addr remote;
- struct in_addr group;
+ unsigned char family;
+ union in_addr_union local;
+ union in_addr_union remote;
+ union in_addr_union group;
LIST_HEAD(netdev_enslave_callback, callbacks);
};