From 65963f0ad2207b55dc7715015839b59b58855a67 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Oct 2013 17:30:04 +0200 Subject: interface: remove "dynamic" argument for interface_init, add the interface_set_dynamic function instead Signed-off-by: Felix Fietkau --- ubus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ubus.c') diff --git a/ubus.c b/ubus.c index 513b40c..cfdfcf3 100644 --- a/ubus.c +++ b/ubus.c @@ -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); -- cgit v1.2.1