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:
parent
ba685393b4
commit
69f657dbc7
4 changed files with 27 additions and 10 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue