fw4: avoid emitting invalid rule jump targets
authorJo-Philipp Wich <jo@mein.io>
Fri, 4 Aug 2023 22:46:47 +0000 (00:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 4 Aug 2023 22:46:47 +0000 (00:46 +0200)
commit840ccdeeabce16e9f1f53390d870992ad372b967
tree247b34ab45dc36087e49a2dcba667c60177ea3ca
parent23a434d0d15d61db61bb065c89f266a326c78a88
fw4: avoid emitting invalid rule jump targets

Avoid emitting a bogus chain jump for actionless rules bound to a
log-enabled source zone.

Fixes: https://github.com/openwrt/firewall4/issues/5
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc