summaryrefslogtreecommitdiffhomepage
path: root/proto-static.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-13 15:49:25 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-05-13 15:49:25 +0200
commitf7ac9bf93cc07755d15a7ab65d17dc66b8fcea80 (patch)
treefe527337a78fe3ce3737c7e44a089a23a7ffe0f0 /proto-static.c
parenta17e907f55390ae39ee8e64fd96d06abc193a7e5 (diff)
split applying static proto setting from handler settings
Diffstat (limited to 'proto-static.c')
-rw-r--r--proto-static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-static.c b/proto-static.c
index 86f2f20..833b6b8 100644
--- a/proto-static.c
+++ b/proto-static.c
@@ -33,7 +33,7 @@ struct static_proto_state {
static bool
static_proto_setup(struct static_proto_state *state)
{
- return proto_apply_ip_settings(state->proto.iface, state->config, false) == 0;
+ return proto_apply_static_ip_settings(state->proto.iface, state->config) == 0;
}
static int