add a generic option for disabling the automatic default route on interfaces
[project/netifd.git] / interface.h
index 3ce4c99..4580c5b 100644 (file)
@@ -42,12 +42,13 @@ struct interface_user {
 struct interface_ip_settings {
        struct interface *iface;
        bool enabled;
+       bool no_defaultroute;
 
        struct vlist_tree addr;
        struct vlist_tree route;
 
-       struct list_head dns_servers;
-       struct list_head dns_search;
+       struct vlist_simple_tree dns_servers;
+       struct vlist_simple_tree dns_search;
 };
 
 /*