Add different 'reconnect' message
This commit is contained in:
parent
747ca71c92
commit
9dcc51e329
1 changed files with 1 additions and 1 deletions
2
siahsd.c
2
siahsd.c
|
@ -235,7 +235,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
send_reply(pkt, sock, from, pkt, reply_message);
|
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 */
|
/* This is the first message that arrives at the registration referred port */
|
||||||
reply_message = talloc_asprintf(pkt, "RECONNECTED AT PORT %05d", conf->siahs_port);
|
reply_message = talloc_asprintf(pkt, "RECONNECTED AT PORT %05d", conf->siahs_port);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue