From 7a0d38f2b8975497714a73aed6415c0dbb5a1cb8 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 25 Nov 2021 06:15:15 +0200 Subject: [PATCH] fw4.uc: add _name as deprecated option Add _name as deprecated option for rules and redirects, as this might have been added by LuCI at some point. Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- root/usr/share/ucode/fw4.uc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc index df5ab87..7ada93e 100644 --- a/root/usr/share/ucode/fw4.uc +++ b/root/usr/share/ucode/fw4.uc @@ -1921,6 +1921,7 @@ return { enabled: [ "bool", "1" ], name: [ "string", this.section_id(data[".name"]) ], + _name: [ "string", null, DEPRECATED ], family: [ "family" ], src: [ "zone_ref" ], @@ -2201,6 +2202,7 @@ return { enabled: [ "bool", "1" ], name: [ "string", this.section_id(data[".name"]) ], + _name: [ "string", null, DEPRECATED ], family: [ "family", "4" ], src: [ "zone_ref" ], -- 2.30.2