summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h3
1 files changed, 2 insertions, 1 deletions
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);