mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix when plugin an interface
This commit is contained in:
parent
5c60143939
commit
49fec5a730
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ start_service() {
|
|||
config_foreach add_route route
|
||||
config_foreach add_route route6
|
||||
# If no master is defined, one interface is defined as master
|
||||
if [ "$master" = "" ]; then
|
||||
if [ "$master" = "" ] && [ "$intf" = "" ]; then
|
||||
intfmaster="$(echo $mptcpintf | cut -d' ' -f1 | tr -d '\n')"
|
||||
[ "$intfmaster" != "" ] && {
|
||||
logger -t "MPTCP" "No master multipath defined, setting it to $intfmaster"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue