mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix multipath master route
This commit is contained in:
parent
14730b6fe8
commit
79df058855
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ interface_multipath_settings() {
|
|||
ip route replace default via $gateway dev $iface table $id
|
||||
ip route flush $id
|
||||
|
||||
config_get mode "$config" multipath "off"
|
||||
[ "$mode" = "master" ] && {
|
||||
ip route replace default via $gateway dev $iface
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue