2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Add support for interfaces_requested flag

This commit is contained in:
Ted Lemon
1997-09-16 18:08:32 +00:00
parent da7829cfe8
commit 776f5176fa

View File

@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
"$Id: clparse.c,v 1.11 1997/06/02 22:34:19 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
"$Id: clparse.c,v 1.12 1997/09/16 18:08:32 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -444,6 +444,9 @@ void parse_interface_declaration (cfile, outer_config)
if (!ip -> client -> config)
make_client_config (ip, outer_config);
ip -> flags &= ~INTERFACE_AUTOMATIC;
interfaces_requested = 1;
token = next_token (&val, cfile);
if (token != LBRACE) {
parse_warn ("expecting left brace.");