From 5e7ad3b44041d044b8221fc38588aca7d6ef066f Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 6 Jan 2022 11:52:02 +0200 Subject: [PATCH] fw4.uc: don't fail on unknown options Warn the user when a section contains invalid options, but do not stop processing the section, like firewall3. Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- root/usr/share/ucode/fw4.uc | 1 - 1 file changed, 1 deletion(-) diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc index 7ada93e..cfbd632 100644 --- a/root/usr/share/ucode/fw4.uc +++ b/root/usr/share/ucode/fw4.uc @@ -635,7 +635,6 @@ return { for (let opt in s) { if (index(opt, '.') != 0 && opt != 'type' && !exists(spec, opt)) { this.warn_section(s, "specifies unknown option '" + opt + "'"); - return false; } } -- 2.30.2