config: ignore config parser errors
[project/netifd.git] / config.c
index 4fe72dc..14a91a5 100644 (file)
--- 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);