diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-03-30 12:30:09 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-03-30 12:30:09 +0000 |
commit | fb11a9c23d3da57e67bc474faa1ba0e55899d7b8 (patch) | |
tree | b285f7b912098d74c02bd2a8b542e1472a52003a /usr.sbin/ppp/command.c | |
parent | 997f6e03b8cf94a308d742264c1204d393588fa0 (diff) | |
download | src-fb11a9c23d3da57e67bc474faa1ba0e55899d7b8.tar.gz src-fb11a9c23d3da57e67bc474faa1ba0e55899d7b8.zip |
Merge the NETGRAPH branch into HEAD. tty devices now use netgraph's line
discipline to do the async escaping, but no other benefits are available yet.
Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency.
Make the Makefile a little more sane WRT RELEASE_CRUNCH.
Notes
Notes:
svn path=/head/; revision=93418
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 93e9d200a4b1..0931684231d9 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -1673,7 +1673,7 @@ SetVariable(struct cmdargs const *arg) } break; -#ifdef HAVE_DES +#ifndef NODES case VAR_MPPE: if (arg->argc > arg->argn + 2) { res = -1; @@ -2210,7 +2210,7 @@ static struct cmdtab const SetCommands[] = { {"deflate", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX_OPT, "deflate window sizes", "set deflate out-winsize in-winsize", (const void *) VAR_WINSIZE}, -#ifdef HAVE_DES +#ifndef NODES {"mppe", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX_OPT, "MPPE key size and state", "set mppe [40|56|128|* [stateful|stateless|*]]", (const void *) VAR_MPPE}, @@ -2674,7 +2674,7 @@ NegotiateSet(struct cmdargs const *arg) cx->physical->link.lcp.cfg.chap05 &= keep; cx->physical->link.lcp.cfg.chap05 |= add; break; -#ifdef HAVE_DES +#ifndef NODES case NEG_CHAP80: cx->physical->link.lcp.cfg.chap80nt &= keep; cx->physical->link.lcp.cfg.chap80nt |= add; @@ -2799,7 +2799,7 @@ static struct cmdtab const NegotiateCommands[] = { {"chap", "chap05", NegotiateSet, LOCAL_AUTH | LOCAL_CX, "Challenge Handshake Authentication Protocol", "accept|deny|disable|enable", (const void *)NEG_CHAP05}, -#ifdef HAVE_DES +#ifndef NODES {"mschap", "chap80nt", NegotiateSet, LOCAL_AUTH | LOCAL_CX, "Microsoft (NT) CHAP", "accept|deny|disable|enable", (const void *)NEG_CHAP80}, |