netifd: Check interface state only when main device is set during interface_change_config
[project/netifd.git] / interface.h
index c3a4379..6cfe264 100644 (file)
@@ -102,6 +102,9 @@ struct interface {
        bool autostart;
        bool config_autostart;
        bool device_config;
+       bool enabled;
+       bool link_state;
+       bool force_link;
        bool dynamic;
 
        time_t start_time;