From 145e1591a3ca7cc4f92f9f80ef7bdfe393ac0229 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 8 Sep 2022 22:52:09 +0200 Subject: [PATCH] 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 --- root/usr/share/ucode/fw4.uc | 3 +++ 1 file changed, 3 insertions(+) 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" ] }); -- 2.30.2