X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e3060b618dcc81d6e08de46948ac410ce842bbe0..6c0f1d31579139732e9cf5cfb59da1e8ecacd683:/package/firewall/files/lib/core_forwarding.sh diff --git a/package/firewall/files/lib/core_forwarding.sh b/package/firewall/files/lib/core_forwarding.sh index b62e18a76..c4a968143 100644 --- a/package/firewall/files/lib/core_forwarding.sh +++ b/package/firewall/files/lib/core_forwarding.sh @@ -27,7 +27,8 @@ fw_load_forwarding() { target=zone_${forwarding_dest}_ACCEPT } - local mode=$(fw_get_family_mode ${forwarding_family:-x} ${forwarding_dest:-${forwarding_src:--}} i) + local mode + fw_get_family_mode mode ${forwarding_family:-x} ${forwarding_dest:-${forwarding_src:--}} i fw add $mode f $chain $target ^