1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-09-13 20:41:36 +02:00
parent 5217b2629a
commit 2c82486ac2

View file

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