diff options
| author | Stijn Tintel | 2021-11-25 04:15:15 +0000 |
|---|---|---|
| committer | Stijn Tintel | 2022-01-06 12:52:02 +0000 |
| commit | 7a0d38f2b8975497714a73aed6415c0dbb5a1cb8 (patch) | |
| tree | dcf072c5e8924a0aa5223c1d90cd2b245ff329e7 | |
| parent | 334a127df426286101f90c4f9ec79f8b64d59f14 (diff) | |
| download | firewall4-7a0d38f2b8975497714a73aed6415c0dbb5a1cb8.tar.gz | |
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 <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
| -rw-r--r-- | root/usr/share/ucode/fw4.uc | 2 |
1 files changed, 2 insertions, 0 deletions
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" ], |