X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface.h;h=e4d92aa22b93b626b4b4da134582bc58f90396e5;hp=0a947b41311061e2675b339714f9bcf4d93869ec;hb=266d92dd83bd5bfe520f3e2838794bf9bb827c07;hpb=45e9c1a9a4df8580a9c1117c225d5e9ec73694c4 diff --git a/interface.h b/interface.h index 0a947b4..e4d92aa 100644 --- a/interface.h +++ b/interface.h @@ -93,6 +93,7 @@ struct interface { bool autostart; bool config_autostart; bool device_config; + bool dynamic; time_t start_time; enum interface_state state; @@ -143,7 +144,7 @@ extern struct vlist_tree interfaces; extern const struct uci_blob_param_list interface_attr_list; void interface_init(struct interface *iface, const char *name, - struct blob_attr *config); + struct blob_attr *config, bool dynamic); void interface_add(struct interface *iface, struct blob_attr *config); bool interface_add_alias(struct interface *iface, struct blob_attr *config);