From 9dcc51e329ceef3b0c8db709f6c2d1e596d3fbbc Mon Sep 17 00:00:00 2001 From: Wilco Baan Hofman Date: Mon, 31 Jan 2022 19:41:49 +0100 Subject: [PATCH] Add different 'reconnect' message --- siahsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siahsd.c b/siahsd.c index 198716a..83baa4f 100644 --- a/siahsd.c +++ b/siahsd.c @@ -235,7 +235,7 @@ int main(int argc, char **argv) { send_reply(pkt, sock, from, pkt, reply_message); - } else if (strcmp(pkt->message, "RECONNECT REQUEST") == 0) { + } else if (strcmp(pkt->message, "RECONNECT REQUEST") == 0 || strcmp(pkt->message, "reconnect") == 0) { /* This is the first message that arrives at the registration referred port */ reply_message = talloc_asprintf(pkt, "RECONNECTED AT PORT %05d", conf->siahs_port);