]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add support for interfaces_requested flag
authorTed Lemon <source@isc.org>
Tue, 16 Sep 1997 18:08:32 +0000 (18:08 +0000)
committerTed Lemon <source@isc.org>
Tue, 16 Sep 1997 18:08:32 +0000 (18:08 +0000)
client/clparse.c

index 0bda34f1d67681a98dc87d8d5371d1a97e8d1294..f20bcb87f0b46b89019db0709170ac3ae7e610e2 100644 (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.");