From: Jo-Philipp Wich Date: Thu, 8 Sep 2022 20:52:09 +0000 (+0200) Subject: fw4: recognize `option log` and `option counter` in `config nat` sections X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=145e1591a3ca7cc4f92f9f80ef7bdfe393ac0229;p=project%2Ffirewall4.git fw4: recognize `option log` and `option counter` in `config nat` sections 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 --- diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc index a7837ed..29ae053 100644 --- 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" ] });