]> git.ozlabs.org Git - ppp.git/commitdiff
MP-related code should be wrapped within HAVE_MULTILINK pre-processor
authorAdi Masputra <adi.masputra@sun.com>
Thu, 27 Apr 2000 03:51:18 +0000 (03:51 +0000)
committerAdi Masputra <adi.masputra@sun.com>
Thu, 27 Apr 2000 03:51:18 +0000 (03:51 +0000)
conditional blocks, otherwise the build breaks on platforms where
HAVE_MULTILINK is not defined.

pppd/lcp.c

index 026b301356e0fd6170408300525bebb41e57bb80..f933b590fddf91fb608fa302bf7d91b2c267d760 100644 (file)
@@ -17,7 +17,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
  * 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:
 
 /*
  * TODO:
@@ -566,8 +566,10 @@ lcp_resetci(f)
        go->neg_ssnhf = 0;
        go->neg_endpoint = 0;
     }
        go->neg_ssnhf = 0;
        go->neg_endpoint = 0;
     }
+#ifdef HAVE_MULTILINK
     if (noendpoint)
        ao->neg_endpoint = 0;
     if (noendpoint)
        ao->neg_endpoint = 0;
+#endif /* HAVE_MULTILINK */
     peer_mru[f->unit] = PPP_MRU;
     auth_reset(f->unit);
 }
     peer_mru[f->unit] = PPP_MRU;
     auth_reset(f->unit);
 }