From: Felix Fietkau Date: Tue, 8 Nov 2011 21:58:45 +0000 (+0100) Subject: do not hardcode config package in config_init_package() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f88662d0361fa1561ee15f544934655a0dbc9414;p=project%2Fnetifd.git do not hardcode config package in config_init_package() --- diff --git a/config.c b/config.c index 5a2e439..fcfea7c 100644 --- a/config.c +++ b/config.c @@ -337,7 +337,7 @@ config_init_package(const char *config) uci_unload(ctx, p); } - if (uci_load(ctx, "network", &p)) + if (uci_load(ctx, config, &p)) return NULL; return p;