chiark / gitweb /
networkd: refuse to use .network files with missing Address/Gateway key
[elogind.git] / src / network / networkd.h
index cad81d9b711f0277e86d0c451b61735922a4a9d6..75309a9b85f67970097954962b6b8c40ac7b8712 100644 (file)
@@ -119,6 +119,7 @@ struct Route {
         uint64_t section;
 
         unsigned char family;
+        unsigned char dst_family;
         unsigned char dst_prefixlen;
 
         union {
@@ -269,7 +270,7 @@ int config_parse_label(const char *unit, const char *filename, unsigned line,
 
 int link_new(Manager *manager, struct udev_device *device, Link **ret);
 void link_free(Link *link);
-int link_add(Manager *manager, struct udev_device *device);
+int link_add(Manager *manager, struct udev_device *device, Link **ret);
 int link_configure(Link *link);
 
 int link_update(Link *link, sd_rtnl_message *message);