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

Fix to allow many IPs on VPS

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-09 10:15:15 +01:00
parent 70e48f93a0
commit bbf41d33ae
4 changed files with 62 additions and 58 deletions

View file

@ -25,7 +25,7 @@ _ping_tunnel() {
config_get gateway $1 gateway
config_get ifname $1 ifname
config_get disabled $1 disabled
[ "$(echo $ifname | grep omrip)" != "" ] && [ -n "$gateway" ] && [ "$disabled" != "1" ] && {
[ "$(echo $ifname | grep oip)" != "" ] && [ -n "$gateway" ] && [ "$disabled" != "1" ] && {
_ping_server $gateway
}
}