Don't expect specific message code after TFTP upload
This commit is contained in:
parent
9f51230d21
commit
dc8851a553
1 changed files with 1 additions and 1 deletions
2
nmrp.c
2
nmrp.c
|
|
@ -576,7 +576,7 @@ int nmrp_do(struct nmrpd_args *args)
|
|||
if (!status) {
|
||||
printf("OK\nWaiting for remote to respond.\n");
|
||||
ethsock_set_timeout(sock, args->ul_timeout);
|
||||
expect = NMRP_C_CLOSE_REQ;
|
||||
expect = NMRP_C_NONE;
|
||||
} else if (status == -2) {
|
||||
expect = NMRP_C_TFTP_UL_REQ;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue