thermferm/server.c

changeset 303
19a9a3912d03
parent 300
4ce46ff3e37d
child 306
97602274eb58
--- a/thermferm/server.c	Mon Dec 01 14:15:22 2014 +0100
+++ b/thermferm/server.c	Wed Dec 17 15:44:58 2014 +0100
@@ -2000,6 +2000,8 @@
 		srv_send((char *)".");
 	    } else if (strncmp(buf, "LIST", 4) == 0) {
 		cmd_list(buf);
+	    } else if (strncmp(buf, "PING", 4) == 0) {
+		srv_send((char *)"101 PONG");
 	    } else if (strncmp(buf, "PROFILE", 7) == 0) {
 		if (cmd_profile(buf) == 0)
 		    wrconfig();

mercurial