diff options
author | brian <brian@FreeBSD.org> | 2002-01-16 13:15:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-01-16 13:15:47 +0000 |
commit | 414245183e4efd4326ea425a932f73c5cc9dd073 (patch) | |
tree | ad1919513333486a2fc89f76e42e8fbb384f259a /usr.sbin/ppp/mp.c | |
parent | d056f34b3633cfdaba110d2f791a09d9a564773d (diff) | |
download | FreeBSD-src-414245183e4efd4326ea425a932f73c5cc9dd073.zip FreeBSD-src-414245183e4efd4326ea425a932f73c5cc9dd073.tar.gz |
socket's first argument is an address family, not a protocol family.
Diffstat (limited to 'usr.sbin/ppp/mp.c')
-rw-r--r-- | usr.sbin/ppp/mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/mp.c b/usr.sbin/ppp/mp.c index f288c8d..e6254a6 100644 --- a/usr.sbin/ppp/mp.c +++ b/usr.sbin/ppp/mp.c @@ -1137,7 +1137,7 @@ mpserver_Open(struct mpserver *s, struct peerid *peer) s->socket.sun_family = AF_LOCAL; s->socket.sun_len = sizeof s->socket; - s->fd = ID0socket(PF_LOCAL, SOCK_DGRAM, 0); + s->fd = ID0socket(AF_LOCAL, SOCK_DGRAM, 0); if (s->fd < 0) { log_Printf(LogERROR, "mpserver: socket(): %s\n", strerror(errno)); return MPSERVER_FAILED; |