diff options
author | Steven Barth <steven@midlink.org> | 2013-10-17 16:49:23 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-17 16:49:23 +0200 |
commit | 266d92dd83bd5bfe520f3e2838794bf9bb827c07 (patch) | |
tree | a448f29345b00f855a5a194e98e965e96afcb1cf /interface.h | |
parent | 45e9c1a9a4df8580a9c1117c225d5e9ec73694c4 (diff) |
Add ubus function to create nested interfaces
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 3 |
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); |