From c6d68beab884b6f037a12000a3e905c7f4de0a8f Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 16 Jan 2002 14:03:52 +0000 Subject: socket()s first argument should be a protocol family rather than an address family. --- usr.sbin/ppp/arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/ppp/arp.c') diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index edcc37c..47b7869 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -112,7 +112,7 @@ arp_ProxySub(struct bundle *bundle, struct in_addr addr, int add, int s) inet_ntoa(addr)); return 0; } - routes = ID0socket(AF_ROUTE, SOCK_RAW, AF_INET); + routes = ID0socket(PF_ROUTE, SOCK_RAW, AF_INET); if (routes < 0) { log_Printf(LogERROR, "arp_SetProxy: opening routing socket: %s\n", strerror(errno)); -- cgit v1.1