From 51dfbde005dcd1cac01de097e84245be2c41244c Mon Sep 17 00:00:00 2001 From: Russell Coker Date: Sat, 14 Sep 2002 08:05:27 +0000 Subject: [PATCH] Fix a SEGV on printing options error (previously a MTU of 65535 in the options file would cause a SEGV). --- pppd/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2