From: Adi Masputra Date: Thu, 27 Apr 2000 03:51:18 +0000 (+0000) Subject: MP-related code should be wrapped within HAVE_MULTILINK pre-processor X-Git-Tag: ppp-2.4.7~535 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=91fe5eefe0e7b0e46b2df9dd1d5b54a545a5b432;ds=sidebyside MP-related code should be wrapped within HAVE_MULTILINK pre-processor conditional blocks, otherwise the build breaks on platforms where HAVE_MULTILINK is not defined. --- diff --git a/pppd/lcp.c b/pppd/lcp.c index 026b301..f933b59 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.54 2000/04/27 03:51:18 masputra Exp $" /* * TODO: @@ -566,8 +566,10 @@ lcp_resetci(f) go->neg_ssnhf = 0; go->neg_endpoint = 0; } +#ifdef HAVE_MULTILINK if (noendpoint) ao->neg_endpoint = 0; +#endif /* HAVE_MULTILINK */ peer_mru[f->unit] = PPP_MRU; auth_reset(f->unit); }