projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334a127
)
fw4.uc: add _name as deprecated option
author
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 25 Nov 2021 04:15:15 +0000
(06:15 +0200)
committer
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 6 Jan 2022 12:52:02 +0000
(14:52 +0200)
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>
root/usr/share/ucode/fw4.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/ucode/fw4.uc
b/root/usr/share/ucode/fw4.uc
index df5ab876f4ed12b352ec444ceb06631467e7bdcf..7ada93e6c82cac3cbef093552e1b24ea68d250a6 100644
(file)
--- 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" ],