Keep up with sys/net/rtsock.c,v 1.58.
Prodded by: brian
This commit is contained in:
parent
461f19b387
commit
72736552c4
@ -133,7 +133,7 @@ arp_ProxySub(struct bundle *bundle, struct in_addr addr, int add, int s)
|
||||
+ arpmsg.hwa.sdl_len;
|
||||
|
||||
|
||||
if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0 &&
|
||||
if (ID0write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0 &&
|
||||
!(!add && errno == ESRCH)) {
|
||||
log_Printf(LogERROR, "%s proxy arp entry %s: %s\n",
|
||||
add ? "Add" : "Delete", inet_ntoa(addr), strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user