Keep up with sys/net/rtsock.c,v 1.58.

Prodded by:	brian
This commit is contained in:
Ruslan Ermilov 2001-09-21 16:14:53 +00:00
parent 461f19b387
commit 72736552c4

View File

@ -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));