mwan3: fix mwan3 flush conntrack table call
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 22 Dec 2021 08:23:05 +0000 (09:23 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 29 Dec 2021 13:17:24 +0000 (14:17 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit e1f321150d14aaabfe8b6468bc4c8401d2fffc6d)

net/mwan3/Makefile
net/mwan3/files/etc/hotplug.d/iface/15-mwan3

index 136da86636497a47dd2a5149d9c7a1043bfacd61..6b5e8ce901f6f423921551ce5b2cc95c10befcda 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mwan3
-PKG_VERSION:=2.10.12
+PKG_VERSION:=2.10.13
 PKG_RELEASE:=1
 PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
                Aaron Goodman <aaronjg@alumni.stanford.edu>
index c56f73a5743a9119558dbade9ae52fe607257045..7c107fc01494c0cca087965aa80d64dc9701ab9a 100644 (file)
@@ -26,7 +26,6 @@ mwan3_init
 /etc/init.d/mwan3 running || {
        [ "$MWAN3_STARTUP" = "init" ] || procd_lock
        LOG notice "mwan3 hotplug $ACTION on $INTERFACE not called because globally disabled"
-       mwan3_flush_conntrack "$INTERFACE" "$ACTION"
        exit 0
 }
 
@@ -85,4 +84,7 @@ case "$ACTION" in
                mwan3_set_policies_iptables
        ;;
 esac
+
+mwan3_flush_conntrack "$INTERFACE" "$ACTION"
+
 exit 0