diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-31 22:23:35 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-31 22:23:37 +0200 |
commit | 386453cbc5cc8ecdfbe8c53ff8cd058945fd821b (patch) | |
tree | 25d51e405784978dae0d95a40bea1cbb22e76ec3 /config.c | |
parent | f1e5b2292ea452af8d46267f4bbcc515841963ce (diff) |
config: ignore config parser errors
This helps with keeping routers reachable when there are typos in the
network config.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -190,6 +190,7 @@ config_init_package(const char *config) ctx = uci_alloc_context(); uci_ctx = ctx; + ctx->flags &= ~UCI_FLAG_STRICT; if (config_path) uci_set_confdir(ctx, config_path); |