mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-08 19:44:17 +00:00
reversed previous commit, as it makes the monitor interface too
chatty, and doesn't help detect loss of servald connection, anyway.
This commit is contained in:
parent
4ebbb7b3bf
commit
3e9fcffd58
@ -171,11 +171,6 @@ int monitor_poll()
|
||||
for(m=0;m<monitor_socket_count;m++)
|
||||
write(monitor_sockets[m].socket,msg,strlen(msg));
|
||||
}
|
||||
/* send dummy keep-alive for 000000, so that monitors can detect whether
|
||||
they should have got a keep alive for their calls recently */
|
||||
snprintf(msg,128,"KEEPALIVE:0\n");
|
||||
for(m=0;m<monitor_socket_count;m++)
|
||||
write(monitor_sockets[m].socket,msg,strlen(msg));
|
||||
}
|
||||
|
||||
/* Check for new connections */
|
||||
|
Loading…
x
Reference in New Issue
Block a user