mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 23:35:23 +00:00
Domains aren't seperated by commas after search keyword
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: resolv.c,v 1.1 1997/06/03 00:25:43 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: resolv.c,v 1.2 1997/06/03 00:44:08 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -101,8 +101,8 @@ void read_resolv_conf (parse_time)
|
|||||||
dn = (char *)0;
|
dn = (char *)0;
|
||||||
}
|
}
|
||||||
nd -> rcdate = parse_time;
|
nd -> rcdate = parse_time;
|
||||||
token = next_token (&val, cfile);
|
token = peek_token (&val, cfile);
|
||||||
} while (token == COMMA);
|
} while (token != COMMA);
|
||||||
if (token != EOL) {
|
if (token != EOL) {
|
||||||
parse_warn ("junk after domain declaration");
|
parse_warn ("junk after domain declaration");
|
||||||
skip_to_semi (cfile);
|
skip_to_semi (cfile);
|
||||||
|
Reference in New Issue
Block a user