mwan3: fix typo in mwan3_set_sticky_iptables 13466/head
authorAaron Goodman <aaronjg@stanford.edu>
Tue, 22 Sep 2020 11:58:35 +0000 (07:58 -0400)
committerAaron Goodman <aaronjg@stanford.edu>
Tue, 22 Sep 2020 23:18:19 +0000 (19:18 -0400)
fixes #13443

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/mwan3/Makefile
net/mwan3/files/lib/mwan3/mwan3.sh

index 958c21061fbaf799a6eae74b3863c2c5bd7a28f5..2ffb737cff15e3e5858a638dd868e1d8693937da 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mwan3
-PKG_VERSION:=2.8.12
+PKG_VERSION:=2.8.13
 PKG_RELEASE:=1
 PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
 PKG_LICENSE:=GPL-2.0
index 3c7422dc0b798a6860067832299f4158220998d4..2893ab4d10d77b290039e4dcc05ae50022742958 100644 (file)
@@ -757,7 +757,7 @@ mwan3_set_policy()
                else
                        probability="1"
                fi
-               
+
                $IPT -I "mwan3_policy_$policy" \
                        -m mark --mark 0x0/$MMX_MASK \
                        -m statistic \
@@ -844,7 +844,7 @@ mwan3_set_sticky_iptables()
                        [ -n "$id" ] || return 0
 
                        for IPT in "$IPT4" "$IPT6"; do
-                               [ "$IPT" = "$IPT6" ] && [ $NO_IPV6 -ne 0 ] && continuea
+                               [ "$IPT" = "$IPT6" ] && [ $NO_IPV6 -ne 0 ] && continue
                                if [ -n "$($IPT -S "mwan3_iface_in_$1" 2> /dev/null)" ]; then
                                        $IPT -I "mwan3_rule_$rule" \
                                                -m mark --mark $(mwan3_id2mask id MMX_MASK)/$MMX_MASK \