From: Ted Lemon Date: Tue, 20 Jul 1999 18:00:20 +0000 (+0000) Subject: - Add unknown-clients as an alternative to unknown clients in permit X-Git-Tag: V3-BETA-1-PATCH-2~5^2~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad1a6484c168012771735a14d4380458b4fe4484;p=thirdparty%2Fdhcp.git - Add unknown-clients as an alternative to unknown clients in permit statements. --- diff --git a/server/confpars.c b/server/confpars.c index 6ee60900b..be3ffa244 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.75 1999/07/16 21:34:14 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.76 1999/07/20 18:00:20 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -748,6 +748,10 @@ void parse_pool_statement (cfile, group, type) } break; + case UNKNOWN_CLIENTS: + permit -> type = permit_unknown_clients; + break; + case KNOWN: permit -> type = permit_known_clients; goto get_clients;