Use ul_timeout upon receipt of KEEP_ALIVE_REQ
This commit is contained in:
parent
4669a07d3f
commit
6709ee6090
1 changed files with 1 additions and 1 deletions
2
nmrp.c
2
nmrp.c
|
@ -652,7 +652,7 @@ int nmrp_do(struct nmrpd_args *args)
|
|||
break;
|
||||
case NMRP_C_KEEP_ALIVE_REQ:
|
||||
tx.msg.code = NMRP_C_KEEP_ALIVE_ACK;
|
||||
ethsock_set_timeout(sock, 15000);
|
||||
ethsock_set_timeout(sock, args->ul_timeout);
|
||||
printf("Received keep-alive request.\n");
|
||||
break;
|
||||
case NMRP_C_CLOSE_REQ:
|
||||
|
|
Loading…
Add table
Reference in a new issue