]> git.ozlabs.org Git - ppp.git/commitdiff
Fix a SEGV on printing options error (previously a MTU of 65535 in the options
authorRussell Coker <russell@coker.com.au>
Sat, 14 Sep 2002 08:05:27 +0000 (08:05 +0000)
committerRussell Coker <russell@coker.com.au>
Sat, 14 Sep 2002 08:05:27 +0000 (08:05 +0000)
file would cause a SEGV).

pppd/options.c

index d17df58709e70afe15af92156521603b8fbdebcc..09a2db17bab52a8f2a7d82f84ea343372e7a1eb3 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: options.c,v 1.86 2002/09/07 05:15:25 carlsonj Exp $"
+#define RCSID  "$Id: options.c,v 1.87 2002/09/14 08:05:27 etbe Exp $"
 
 #include <ctype.h>
 #include <stdio.h>
 
 #include <ctype.h>
 #include <stdio.h>
@@ -677,7 +677,7 @@ process_option(opt, cmd, argv)
                    break;
                case OPT_LIMITS:
                    option_error("%s value must be%s between %d and %d",
                    break;
                case OPT_LIMITS:
                    option_error("%s value must be%s between %d and %d",
-                               opt->name, opt->lower_limit, opt->upper_limit);
+                               opt->name, zok, opt->lower_limit, opt->upper_limit);
                    break;
                }
                return 0;
                    break;
                }
                return 0;