diff options
author | brian <brian@FreeBSD.org> | 2001-08-18 12:30:41 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-18 12:30:41 +0000 |
commit | 7fdf4b8b81201c3569ba9b1b02163dafa5cd3bb5 (patch) | |
tree | c254c19dd2d2ac3f13d90599213ef99c622bc4e9 /usr.sbin | |
parent | 4debb1b901da02a2ff7e5157c5d9332bf88d31cb (diff) | |
download | FreeBSD-src-7fdf4b8b81201c3569ba9b1b02163dafa5cd3bb5.zip FreeBSD-src-7fdf4b8b81201c3569ba9b1b02163dafa5cd3bb5.tar.gz |
Build properly with -DNOIPV6
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 6add420..2c79b89 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -2576,10 +2576,12 @@ OptSet(struct cmdargs const *arg) if (ident_cmd(arg->argv[arg->argn - 2], &keep, &add) == NULL) return 1; +#ifndef NOINET6 if (add == NEG_ENABLED && bit == OPT_IPV6CP && !probe.ipv6_available) { log_Printf(LogWARN, "IPv6 is not available on this machine\n"); return 1; } +#endif if (add) arg->bundle->cfg.opt |= bit; |