From 704ec2b064f33b76b4511e6975e00ba7b199da7c Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 29 Mar 2018 11:30:52 +0200 Subject: [PATCH 1/2] net/mwan3: set default mask to 0x3F00 The IPsec ip route table has the default number 220. If mwan3 has more then 7 bits set (124 interfaces) then if mwan3 down is executed the table is also cleared. To solve this set default max 7 bits in the mmx_mask for mwan3. Signed-off-by: Florian Eckert --- net/mwan3/files/lib/mwan3/mwan3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index 275723008..1c371ea65 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -69,7 +69,7 @@ mwan3_init() MWAN3_INTERFACE_MAX=$(uci_get_state mwan3 globals iface_max) else config_load mwan3 - config_get MMX_MASK globals mmx_mask '0xff00' + config_get MMX_MASK globals mmx_mask '0x3F00' echo "$MMX_MASK" > "${MWAN3_STATUS_DIR}/mmx_mask" $LOG notice "Using firewall mask ${MMX_MASK}" From 7c641a3d0317ff83ddea2e747776ef352058ac07 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 29 Mar 2018 14:58:02 +0200 Subject: [PATCH 2/2] net/mwan3: update version to 2.6.12 Signed-off-by: Florian Eckert --- net/mwan3/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index b4b8a222c..6e8399740 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 -PKG_VERSION:=2.6.11 -PKG_RELEASE:=2 +PKG_VERSION:=2.6.12 +PKG_RELEASE:=1 PKG_MAINTAINER:=Florian Eckert PKG_LICENSE:=GPLv2