From 72736552c4492a0865caed991b2a3e2816ced7cb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 21 Sep 2001 16:14:53 +0000 Subject: [PATCH] Keep up with sys/net/rtsock.c,v 1.58. Prodded by: brian --- usr.sbin/ppp/arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index 6ca958794b0..47b7869116b 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -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));