diff options
author | brian <brian@FreeBSD.org> | 2001-08-18 13:04:52 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-18 13:04:52 +0000 |
commit | cfa5d0ff529c7c68582be2d05f344e470d61c5df (patch) | |
tree | a0dbd40d60699c490ea869291dd1aa069e6a2682 /usr.sbin/ppp/bundle.c | |
parent | fb43a54a68c52f79dc2f14a17ce4618c023e958e (diff) | |
download | FreeBSD-src-cfa5d0ff529c7c68582be2d05f344e470d61c5df.zip FreeBSD-src-cfa5d0ff529c7c68582be2d05f344e470d61c5df.tar.gz |
Run correctly on a machine built without AF_INET6 support
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index adf5257..8f0863f 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -555,7 +555,7 @@ bundle_DescriptorRead(struct fdescriptor *d, struct bundle *bundle, } af = ntohl(tun.header.family); #ifndef NOINET6 - if (af != AF_INET && af != AF_INET6) + if (af != AF_INET && (!probe.ipv6_available || af != AF_INET6)) #else if (af != AF_INET) #endif |