1
0
Fork 0
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:
Ycarus 2018-10-14 07:39:30 +02:00
parent 3ce74f1216
commit 9fa93bfd56

View file

@ -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