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:
ce050a8
)
fw4: recognize `option log` and `option counter` in `config nat` sections
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 8 Sep 2022 20:52:09 +0000
(22:52 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 8 Sep 2022 20:52:09 +0000
(22:52 +0200)
Sections of type `nat` didn't honour the `log` and `counter` options so
far, add them in order to make those options avaialble to NAT rules as well.
Ref: https://forum.openwrt.org/t/x/136274/10
Signed-off-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 a7837ed4088e977eea96c841951733b91c30c821..29ae0534afbd50612d621db021c1d42602a7e940 100644
(file)
--- a/
root/usr/share/ucode/fw4.uc
+++ b/
root/usr/share/ucode/fw4.uc
@@
-2973,6
+2973,9
@@
return {
mark: [ "mark" ],
+ counter: [ "bool", "1" ],
+ log: [ "string" ],
+
target: [ "target", "masquerade" ]
});