From 386453cbc5cc8ecdfbe8c53ff8cd058945fd821b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 31 Mar 2014 22:23:35 +0200 Subject: [PATCH] config: ignore config parser errors This helps with keeping routers reachable when there are typos in the network config. Signed-off-by: Felix Fietkau --- config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config.c b/config.c index 4fe72dc..14a91a5 100644 --- a/config.c +++ b/config.c @@ -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); -- 2.25.1