projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4669a07
)
Use ul_timeout upon receipt of KEEP_ALIVE_REQ
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Fri, 12 Aug 2016 08:44:43 +0000
(10:44 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Fri, 12 Aug 2016 08:44:43 +0000
(10:44 +0200)
nmrp.c
patch
|
blob
|
history
diff --git
a/nmrp.c
b/nmrp.c
index a9f1e61440f3d22ab492fdea22296cca1b3fb943..cd62503e2d2478579f31e1c81f6101e8da407296 100644
(file)
--- a/
nmrp.c
+++ b/
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: