diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 17:30:04 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 17:30:04 +0200 |
commit | 65963f0ad2207b55dc7715015839b59b58855a67 (patch) | |
tree | c6b7cbc6afce934627f85ee25e7c1bdb560414cf /interface.h | |
parent | 566af724dad393fa127e07469dcc9ade62bd3a75 (diff) |
interface: remove "dynamic" argument for interface_init, add the interface_set_dynamic function instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/interface.h b/interface.h index ca5d376..5b04102 100644 --- a/interface.h +++ b/interface.h @@ -146,7 +146,9 @@ 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, bool dynamic); + struct blob_attr *config); + +void interface_set_dynamic(struct interface *iface); void interface_add(struct interface *iface, struct blob_attr *config); bool interface_add_alias(struct interface *iface, struct blob_attr *config); |