interface: apply device config passed through interface config
[project/netifd.git] / config.c
index 7319b3c..43b9205 100644 (file)
--- a/config.c
+++ b/config.c
@@ -217,7 +217,7 @@ config_init_devices(void)
                        if (!dev)
                                continue;
 
-                       device_apply_config(dev, dev->type, blob_memdup(b.head));
+                       device_apply_config(dev, dev->type, b.head);
                }
                dev->default_config = false;
        }