Browse Source

Merge pull request #16029 from dangowrt/mwan3-rttables

mwan3: use default routes from additional tables
lilik-openwrt-22.03
Florian Eckert 4 years ago
committed by GitHub
parent
commit
061e0b3e09
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +9
    -1
      net/mwan3/files/lib/mwan3/mwan3.sh

+ 1
- 1
net/mwan3/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
PKG_VERSION:=2.10.9
PKG_VERSION:=2.10.10
PKG_RELEASE:=1
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
Aaron Goodman <aaronjg@alumni.stanford.edu>


+ 9
- 1
net/mwan3/files/lib/mwan3/mwan3.sh View File

@ -408,9 +408,17 @@ mwan3_delete_iface_iptables()
}
mwan3_extra_tables_routes()
{
$IP route list table "$1"
}
mwan3_get_routes()
{
$IP route list table main | sed -ne "$MWAN3_ROUTE_LINE_EXP" | uniq
{
$IP route list table main
config_list_foreach "globals" "rt_table_lookup" mwan3_extra_tables_routes
} | sed -ne "$MWAN3_ROUTE_LINE_EXP" | sort -u
}
mwan3_create_iface_route()


Loading…
Cancel
Save