projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99abee2
)
Make dynamic interfaces always autostart
author
Steven Barth
<steven@midlink.org>
Wed, 23 Jul 2014 16:04:47 +0000
(18:04 +0200)
committer
Steven Barth
<steven@midlink.org>
Wed, 23 Jul 2014 16:04:47 +0000
(18:04 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index ea252083ae1ea48c404cea7280660175994c134c..4c92f10962db451fe23bbceb6a82c48d34ac4c7c 100644
(file)
--- 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
}