summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-21 16:14:53 +0000
committerru <ru@FreeBSD.org>2001-09-21 16:14:53 +0000
commit1020d31fd147a530a195abd84df61376abec26cc (patch)
treeb7c172c2fe9f724e5430eff21b736f75c15dff3e /usr.sbin
parenta6d84cf8c33f199678cef862d09259d5b80c3c04 (diff)
downloadFreeBSD-src-1020d31fd147a530a195abd84df61376abec26cc.zip
FreeBSD-src-1020d31fd147a530a195abd84df61376abec26cc.tar.gz
Keep up with sys/net/rtsock.c,v 1.58.
Prodded by: brian
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c
index 6ca9587..47b7869 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));
OpenPOWER on IntegriCloud