summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/probe.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-01-16 14:03:52 +0000
committerbrian <brian@FreeBSD.org>2002-01-16 14:03:52 +0000
commitc6d68beab884b6f037a12000a3e905c7f4de0a8f (patch)
tree68f8d0feba20c53891bed19a936dd7c3e522e6d3 /usr.sbin/ppp/probe.c
parent414245183e4efd4326ea425a932f73c5cc9dd073 (diff)
downloadFreeBSD-src-c6d68beab884b6f037a12000a3e905c7f4de0a8f.zip
FreeBSD-src-c6d68beab884b6f037a12000a3e905c7f4de0a8f.tar.gz
socket()s first argument should be a protocol family rather than an
address family.
Diffstat (limited to 'usr.sbin/ppp/probe.c')
-rw-r--r--usr.sbin/ppp/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/probe.c b/usr.sbin/ppp/probe.c
index 823be40..a33734c 100644
--- a/usr.sbin/ppp/probe.c
+++ b/usr.sbin/ppp/probe.c
@@ -56,7 +56,7 @@ ipv6_available(void)
{
int s;
- if ((s = ID0socket(AF_INET6, SOCK_DGRAM, 0)) == -1)
+ if ((s = ID0socket(PF_INET6, SOCK_DGRAM, 0)) == -1)
return 0;
close(s);
OpenPOWER on IntegriCloud