From 0ed8450d2fdb39df5b6ea2e587e6554cadcfd0dc Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 14 Sep 2022 15:23:29 +0200 Subject: [PATCH] mwan3: fix balanced default config The metrics and weight need to be the same. A 50% balanced would be require member policies of the same metric and weight value. Signed-off-by: Florian Eckert --- net/mwan3/Makefile | 2 +- net/mwan3/files/etc/config/mwan3 | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index c3e486dbf8..b20ad616f5 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 PKG_VERSION:=2.11.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Florian Eckert , \ Aaron Goodman PKG_LICENSE:=GPL-2.0 diff --git a/net/mwan3/files/etc/config/mwan3 b/net/mwan3/files/etc/config/mwan3 index 54c449fdf6..95aafd98c8 100644 --- a/net/mwan3/files/etc/config/mwan3 +++ b/net/mwan3/files/etc/config/mwan3 @@ -55,6 +55,11 @@ config member 'wanb_m1_w2' option metric '1' option weight '2' +config member 'wanb_m1_w3' + option interface 'wanb' + option metric '1' + option weight '3' + config member 'wanb_m2_w2' option interface 'wanb' option metric '2' @@ -75,6 +80,11 @@ config member 'wanb6_m1_w2' option metric '1' option weight '2' +config member 'wanb6_m1_w3' + option interface 'wanb6' + option metric '1' + option weight '3' + config member 'wanb6_m2_w2' option interface 'wanb6' option metric '2' @@ -90,9 +100,9 @@ config policy 'wanb_only' config policy 'balanced' list use_member 'wan_m1_w3' - list use_member 'wanb_m1_w2' + list use_member 'wanb_m1_w3' list use_member 'wan6_m1_w3' - list use_member 'wanb6_m1_w2' + list use_member 'wanb6_m1_w3' config policy 'wan_wanb' list use_member 'wan_m1_w3' -- 2.30.2