]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipv6cp.c
prevent ipv6 stuff from complaining about no addresses in demand mode
[ppp.git] / pppd / ipv6cp.c
index cf7fed8043952683c0229049feb70e32f1a0f623..3a370a0caa96fe55a5486c9a4c6730aeb2f8efc2 100644 (file)
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: ipv6cp.c,v 1.14 2001/03/08 05:29:28 paulus Exp $ 
+ * $Id: ipv6cp.c,v 1.15 2001/03/22 00:42:33 paulus Exp $ 
  */
 
-#define RCSID  "$Id: ipv6cp.c,v 1.14 2001/03/08 05:29:28 paulus Exp $"
+#define RCSID  "$Id: ipv6cp.c,v 1.15 2001/03/22 00:42:33 paulus Exp $"
 
 /*
  * TODO: 
@@ -1024,6 +1024,9 @@ ipv6_check_options()
 {
     ipv6cp_options *wo = &ipv6cp_wantoptions[0];
 
+    if (!ipv6cp_protent.enabled_flag)
+       return;
+
 #if defined(SOL2)
     /*
      * Persistent link-local id is only used when user has not explicitly