1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Support multiples IPs on server for MPTCPoverVPN and OpenVPN Bonding

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-01-28 20:46:36 +01:00
parent afcb30eb2d
commit 07afc6ce8e
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
}
_getremoteip() {
[ "$(uci -q get openmptcprouter.$1.master)" = "1" ] && remoteip=$(uci -q get openmptcprouter.$1.ip)
[ "$(uci -q get openmptcprouter.$1.master)" = "1" ] && remoteip=$(uci -q get openmptcprouter.$1.ip | awk '{print $1}')
}
_openvpnbonding() {