Don't expect specific message code after TFTP upload

This commit is contained in:
Joseph C. Lehner 2016-02-13 23:51:04 +01:00
parent 9f51230d21
commit dc8851a553

2
nmrp.c
View file

@ -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 {