1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

No more wildcard mark check for bypass

This commit is contained in:
Ycarus 2018-10-15 15:11:04 +02:00
parent ba685393b4
commit 69f657dbc7
4 changed files with 27 additions and 10 deletions

View file

@ -49,7 +49,7 @@ interface_multipath_settings() {
[ -n "$intf" ] && [ "$iface" != "$intf" ] && return 0
[ -z "$iface" ] && return 0
[ -n "$(ifconfig | grep $iface)" ] || return 0
[ "$(echo $iface | grep _dev)" != "" ] && return 0
config_get mode "$config" multipath "off"
[ "$mode" = "master" ] && mode="on"
multipath "$iface" "$mode"