mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +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"
|
config_get mode "$config" multipath "off"
|
||||||
[ "$mode" = "master" ] && mode="on"
|
[ "$mode" = "master" ] && mode="on"
|
||||||
multipath "$iface" "$mode"
|
multipath "$iface" "$mode"
|
||||||
[ "$mode" = "off" ] && {
|
#[ "$mode" = "off" ] && {
|
||||||
ip rule del table $id > /dev/null 2>&1
|
# ip rule del table $id > /dev/null 2>&1
|
||||||
ip route flush $id > /dev/null 2>&1
|
# ip route flush $id > /dev/null 2>&1
|
||||||
return 1
|
# return 1
|
||||||
}
|
#}
|
||||||
|
|
||||||
# IPv4 Updates:
|
# IPv4 Updates:
|
||||||
local ipaddr
|
local ipaddr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue