X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Flcp.c;h=cfaef7a0bd4339c8172c5b1a7c717ca85aed69f1;hb=c7cc972ace58d999e0e4d31c169d8e40ed5dc587;hp=026b301356e0fd6170408300525bebb41e57bb80;hpb=737d6de06387c32ae54fc82f553789455467d32d;p=ppp.git diff --git a/pppd/lcp.c b/pppd/lcp.c index 026b301..cfaef7a 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: lcp.c,v 1.53 2000/04/24 07:41:09 paulus Exp $" +#define RCSID "$Id: lcp.c,v 1.55 2000/04/29 12:32:09 paulus Exp $" /* * TODO: @@ -41,11 +41,11 @@ static const char rcsid[] = RCSID; int lcp_echo_interval = 0; /* Interval between LCP echo-requests */ int lcp_echo_fails = 0; /* Tolerance to unanswered echo-requests */ bool lax_recv = 0; /* accept control chars in asyncmap */ +bool noendpoint = 0; /* don't send/accept endpoint discriminator */ static int setescape __P((char **)); #ifdef HAVE_MULTILINK -bool noendpoint = 0; /* don't send/accept endpoint discriminator */ static int setendpoint __P((char **)); #endif /* HAVE_MULTILINK */ @@ -124,9 +124,9 @@ static option_t lcp_option_list[] = { OPT_A2COPY, &lcp_allowoptions[0].neg_ssnhf }, { "endpoint", o_special, setendpoint, "Endpoint discriminator for multilink" }, +#endif /* HAVE_MULTILINK */ { "noendpoint", o_bool, &noendpoint, "Don't send or accept multilink endpoint discriminator", 1 }, -#endif /* HAVE_MULTILINK */ {NULL} };