diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 17:30:04 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 17:30:04 +0200 |
commit | 65963f0ad2207b55dc7715015839b59b58855a67 (patch) | |
tree | c6b7cbc6afce934627f85ee25e7c1bdb560414cf /ubus.c | |
parent | 566af724dad393fa127e07469dcc9ade62bd3a75 (diff) |
interface: remove "dynamic" argument for interface_init, add the interface_set_dynamic function instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -139,7 +139,8 @@ netifd_add_dynamic(struct ubus_context *ctx, struct ubus_object *obj, if (!iface) return UBUS_STATUS_UNKNOWN_ERROR; - interface_init(iface, name, msg, true); + interface_init(iface, name, msg); + interface_set_dynamic(iface); iface->device_config = true; config = blob_memdup(msg); |