mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix mptcp init script when an interface is specified
This commit is contained in:
parent
5217b2629a
commit
2c82486ac2
1 changed files with 1 additions and 1 deletions
|
@ -564,8 +564,8 @@ start_service() {
|
||||||
config_foreach interface_multipath_settings interface $intf
|
config_foreach interface_multipath_settings interface $intf
|
||||||
config_foreach add_route route
|
config_foreach add_route route
|
||||||
config_foreach add_route6 route6
|
config_foreach add_route6 route6
|
||||||
|
[ -z "$intf" ] && set_multipath
|
||||||
fi
|
fi
|
||||||
set_multipath
|
|
||||||
# If no master is defined, one interface is defined as master
|
# If no master is defined, one interface is defined as master
|
||||||
if [ "$master" = "" ] && [ "$intf" = "" ]; then
|
if [ "$master" = "" ] && [ "$intf" = "" ]; then
|
||||||
intfmaster="$mptcpmintf"
|
intfmaster="$mptcpmintf"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue