Browse Source

mwan3: fix string check for active_tbls

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
2f58865a01
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/mwan3/files/usr/sbin/mwan3rtmon

+ 1
- 1
net/mwan3/files/usr/sbin/mwan3rtmon View File

@ -56,7 +56,7 @@ mwan3_add_all_routes()
tid=0
active_tbls=" "
config_foreach add_active_tbls interface
[ $active_tbls = " " ] && return
[ "$active_tbls" = " " ] && return
mwan3_get_routes | while read -r route_line; do
mwan3_route_line_dev "tid" "$route_line" "$ipv"
if [ -n "$tid" ] && [ -z "${active_tbls##* $tid *}" ]; then


Loading…
Cancel
Save