summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-11-11 21:15:56 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-11-13 14:28:31 +0100
commit2f7ef7dc6cb542d5811f64fa7af97fb8619c9429 (patch)
tree83e5d724fbaad7212ba5349cee7724023d2cb5b2 /config.c
parent841b5d158708ee89d9fa870c40404469cb8e871e (diff)
downloadnetifd-2f7ef7dc6cb542d5811f64fa7af97fb8619c9429.tar.gz
interface: rework code to get rid of interface_set_dynamic
Integrate dynamic interface creation code into interface_alloc and __interface_add so we can get rid of interface_set_dynamic Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 536b7d3..a1267b0 100644
--- a/config.c
+++ b/config.c
@@ -102,7 +102,7 @@ config_parse_interface(struct uci_section *s, bool alias)
uci_to_blob(&b, s, &interface_attr_list);
- iface = interface_alloc(s->e.name, b.head);
+ iface = interface_alloc(s->e.name, b.head, false);
if (!iface)
return;