Commit 67674ffb authored by David Hankins's avatar David Hankins

- Timestamp parsing errors that indicated missing "minutes" fields rather

  than the actually missing "seconds" fields have been repaired thanks to
  a patch from Kevin Steves. [ISC_Bugs #16505]
parent 06211b40
......@@ -227,6 +227,10 @@ the README file.
- A bug was fixed where the nwip virtual option space was referencing
the fqdn option's virtual option space's option cache.
- Timestamp parsing errors that indicated missing "minutes" fields rather
than the actually missing "seconds" fields have been repaired thanks to
a patch from Kevin Steves.
Changes since 3.0.5rc1
- A bug was repaired in fixes to the dhclient, which sought to run the
......
......@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
"$Id: parse.c,v 1.119 2007/01/29 10:25:54 shane Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
"$Id: parse.c,v 1.120 2007/04/16 17:32:02 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
......@@ -876,16 +876,16 @@ TIME parse_date (cfile)
token = next_token (&val, (unsigned *)0, cfile);
if (token != COLON) {
parse_warn (cfile,
"expected colon separating hour from minute.");
"expected colon separating minute from second.");
if (token != SEMI)
skip_to_semi (cfile);
return (TIME)0;
}
/* Minute... */
/* Second... */
token = next_token (&val, (unsigned *)0, cfile);
if (token != NUMBER) {
parse_warn (cfile, "numeric minute expected.");
parse_warn (cfile, "numeric second expected.");
if (token != SEMI)
skip_to_semi (cfile);
return (TIME)0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment