summaryrefslogtreecommitdiffhomepage
path: root/proto-static.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-27 13:21:22 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-07-27 13:21:22 +0200
commit75e73ab3714e324bf98140dbbf740d3e4c40f044 (patch)
tree0a6eb791f8cfbf93301a3445ef863efd83ab0277 /proto-static.c
parentbb1077aaf9f68dba09224803dd89d7316dc24648 (diff)
interface: enable force_link by default for proto=static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'proto-static.c')
-rw-r--r--proto-static.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto-static.c b/proto-static.c
index 51e2083..3e33c3d 100644
--- a/proto-static.c
+++ b/proto-static.c
@@ -100,7 +100,8 @@ error:
static struct proto_handler static_proto = {
.name = "static",
- .flags = PROTO_FLAG_IMMEDIATE,
+ .flags = PROTO_FLAG_IMMEDIATE |
+ PROTO_FLAG_FORCE_LINK_DEFAULT,
.config_params = &proto_ip_attr,
.attach = static_attach,
};