fw4: fix applying zone flags for source bound rules
authorJo-Philipp Wich <jo@mein.io>
Wed, 13 Apr 2022 14:18:44 +0000 (16:18 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Apr 2022 14:18:44 +0000 (16:18 +0200)
commit425ea8a736ac81948bad7e201f4817848cb1813c
tree02384ad10fcb78f6b769090666c732e0e743fda6
parenta3788839d61742799b6c62f2d8790c464b7374fc
fw4: fix applying zone flags for source bound rules

The rule parsing code failed to properly set the source zone flags for
rules requiring `${verdict}_from_${zone}` chains, causing those chains
to be missing, leading to errors when applying the ruleset.

Fix this issue by applying the flag to the correct property (source-
instead of destination flags).

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