From: Russell Coker Date: Sat, 14 Sep 2002 08:05:27 +0000 (+0000) Subject: Fix a SEGV on printing options error (previously a MTU of 65535 in the options X-Git-Tag: ppp-2.4.7~389 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=51dfbde005dcd1cac01de097e84245be2c41244c;ds=sidebyside Fix a SEGV on printing options error (previously a MTU of 65535 in the options file would cause a SEGV). --- diff --git a/pppd/options.c b/pppd/options.c index d17df58..09a2db1 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -17,7 +17,7 @@ * 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 #include @@ -677,7 +677,7 @@ process_option(opt, cmd, argv) 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;