Make nd-proxy handle the interface being shutdown gracefully
Signed-off-by: Scott Parlane <scott.parlane@alliedtelesis.co.nz>
This commit is contained in:
parent
df16c053b0
commit
a35def5b52
@ -237,8 +237,8 @@ handle_fd(gint fd, GIOCondition condition, gpointer data)
|
||||
mhdr.msg_iov = &iov;
|
||||
mhdr.msg_iovlen = 1;
|
||||
if ((len = recvmsg(fd, &mhdr, 0)) < 0) {
|
||||
ERROR("Rx(%s):Interface has gone away\n", iface->name);
|
||||
exit(-1);
|
||||
DEBUG("Rx(%s):Interface has gone away\n", iface->name);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Check we have at least the icmp header */
|
||||
|
Loading…
x
Reference in New Issue
Block a user