From e1f321150d14aaabfe8b6468bc4c8401d2fffc6d Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 22 Dec 2021 09:23:05 +0100 Subject: [PATCH] mwan3: fix mwan3 flush conntrack table call Signed-off-by: Florian Eckert --- net/mwan3/Makefile | 2 +- net/mwan3/files/etc/hotplug.d/iface/15-mwan3 | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index 136da8663..6b5e8ce90 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -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 , \ Aaron Goodman diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 index c56f73a57..7c107fc01 100644 --- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 +++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 @@ -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