From: Ted Lemon Date: Tue, 16 Sep 1997 18:08:32 +0000 (+0000) Subject: Add support for interfaces_requested flag X-Git-Tag: NetBSD_1_3_Alpha~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=776f5176fae91769248b2a726d7487e676635a52;p=thirdparty%2Fdhcp.git Add support for interfaces_requested flag --- diff --git a/client/clparse.c b/client/clparse.c index 0bda34f1d..f20bcb87f 100644 --- a/client/clparse.c +++ b/client/clparse.c @@ -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.");