mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Add route table for all interface
This commit is contained in:
parent
3ce74f1216
commit
9fa93bfd56
1 changed files with 5 additions and 5 deletions
|
@ -53,11 +53,11 @@ interface_multipath_settings() {
|
|||
config_get mode "$config" multipath "off"
|
||||
[ "$mode" = "master" ] && mode="on"
|
||||
multipath "$iface" "$mode"
|
||||
[ "$mode" = "off" ] && {
|
||||
ip rule del table $id > /dev/null 2>&1
|
||||
ip route flush $id > /dev/null 2>&1
|
||||
return 1
|
||||
}
|
||||
#[ "$mode" = "off" ] && {
|
||||
# ip rule del table $id > /dev/null 2>&1
|
||||
# ip route flush $id > /dev/null 2>&1
|
||||
# return 1
|
||||
#}
|
||||
|
||||
# IPv4 Updates:
|
||||
local ipaddr
|
||||
|
|
Loading…
Reference in a new issue