diff options
author | brian <brian@FreeBSD.org> | 2002-01-16 14:03:52 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-01-16 14:03:52 +0000 |
commit | c6d68beab884b6f037a12000a3e905c7f4de0a8f (patch) | |
tree | 68f8d0feba20c53891bed19a936dd7c3e522e6d3 /usr.sbin/ppp/probe.c | |
parent | 414245183e4efd4326ea425a932f73c5cc9dd073 (diff) | |
download | FreeBSD-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.c | 2 |
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); |