From 91fe5eefe0e7b0e46b2df9dd1d5b54a545a5b432 Mon Sep 17 00:00:00 2001 From: Adi Masputra Date: Thu, 27 Apr 2000 03:51:18 +0000 Subject: [PATCH] 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. --- pppd/lcp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.2