summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-07-23 18:04:47 +0200
committerSteven Barth <steven@midlink.org>2014-07-23 18:04:47 +0200
commit3f88c1dc2f738bc50dfa47038fde2565daf84385 (patch)
treef64830bc474c8a2f091685f5dd51daa4b9ebb255 /interface.c
parent99abee21cd5bedfd5fa35c977b02b2d01dd703ce (diff)
Make dynamic interfaces always autostart
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index ea25208..4c92f10 100644
--- a/interface.c
+++ b/interface.c
@@ -709,6 +709,7 @@ interface_alloc(const char *name, struct blob_attr *config)
void interface_set_dynamic(struct interface *iface)
{
iface->dynamic = true;
+ iface->autostart = true;
iface->node.version = -1; // Don't delete on reload
}