From 675ecfba89afaddebbc0b0d7bbc084ea312fc927 Mon Sep 17 00:00:00 2001 From: Denys Yarkovyi Date: Tue, 4 Oct 2022 00:27:16 -0700 Subject: [PATCH] mwan3: support offload routing modifier Signed-off-by: Denys Yarkovyi --- net/mwan3/Makefile | 2 +- net/mwan3/files/lib/mwan3/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index ffffc7fa44..4e5c6e48dc 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 -PKG_VERSION:=2.11.1 +PKG_VERSION:=2.11.2 PKG_RELEASE:=3 PKG_MAINTAINER:=Florian Eckert , \ Aaron Goodman diff --git a/net/mwan3/files/lib/mwan3/common.sh b/net/mwan3/files/lib/mwan3/common.sh index fb951d5a6d..29ace60506 100644 --- a/net/mwan3/files/lib/mwan3/common.sh +++ b/net/mwan3/files/lib/mwan3/common.sh @@ -140,7 +140,7 @@ mwan3_init() # remove "linkdown", expiry and source based routing modifiers from route lines config_get_bool source_routing globals source_routing 0 [ $source_routing -eq 1 ] && unset source_routing - MWAN3_ROUTE_LINE_EXP="s/linkdown //; s/expires [0-9]\+sec//; s/error [0-9]\+//; ${source_routing:+s/default\(.*\) from [^ ]*/default\1/;} p" + MWAN3_ROUTE_LINE_EXP="s/offload//; s/linkdown //; s/expires [0-9]\+sec//; s/error [0-9]\+//; ${source_routing:+s/default\(.*\) from [^ ]*/default\1/;} p" # mark mask constants bitcnt=$(mwan3_count_one_bits MMX_MASK) -- 2.30.2