Actually bail out after sending CLOSE_REQ
This commit is contained in:
parent
a050f74bce
commit
d467995236
1 changed files with 4 additions and 0 deletions
4
nmrp.c
4
nmrp.c
|
|
@ -679,6 +679,10 @@ int nmrp_do(struct nmrpd_args *args)
|
||||||
perror("sendto");
|
perror("sendto");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (tx.msg.code == NMRP_C_CLOSE_REQ) {
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rx.msg.code == NMRP_C_CLOSE_REQ) {
|
if (rx.msg.code == NMRP_C_CLOSE_REQ) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue