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

Fix change master in dynamic mode

This commit is contained in:
Ycarus 2019-03-19 20:34:58 +01:00
parent e641ae7165
commit ad5513f037

View file

@ -78,7 +78,7 @@ _post_tracking() {
_ping_server() {
local serverip=$(uci -q get openmptcprouter.$1.ip)
local deviceip=$2
_ping $serverip $deviceip no
_ping $serverip $deviceip "yes"
statusp=$?
if $(exit $statusp); then
serverip_ping=true