From: Felix Fietkau Date: Fri, 23 Jan 2015 23:42:20 +0000 (+0100) Subject: device: apply config changes from device sections X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=02f05f3755fec2ee8c078b13ad1570bc941a8f72;p=oweals%2Fnetifd.git device: apply config changes from device sections Signed-off-by: Felix Fietkau --- diff --git a/config.c b/config.c index 90ec979..8b6a5ba 100644 --- a/config.c +++ b/config.c @@ -217,7 +217,7 @@ config_init_devices(void) if (!dev) continue; - device_set_config(dev, dev->type, b.head); + device_apply_config(dev, dev->type, blob_memdup(b.head)); } dev->default_config = false; }