From: Ted Lemon Date: Thu, 11 Jan 2001 23:13:27 +0000 (+0000) Subject: Add client-updates keyword. X-Git-Tag: V3-BETA-2-PATCH-12~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2bee237b0d76ec73ca4c658855208ae57b162b;p=thirdparty%2Fdhcp.git Add client-updates keyword. --- diff --git a/common/conflex.c b/common/conflex.c index 13add9d49..f1251e728 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: conflex.c,v 1.84 2000/12/05 07:12:18 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: conflex.c,v 1.85 2001/01/11 23:13:24 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -565,6 +565,8 @@ static enum dhcp_token intern (atom, dfv) return CLIENT_HOSTNAME; if (!strcasecmp (atom + 6, "-state")) return CLIENT_STATE; + if (!strcasecmp (atom + 6, "-updates")) + return CLIENT_UPDATES; if (!strcasecmp (atom + 6, "s")) return CLIENTS; } diff --git a/includes/dhctoken.h b/includes/dhctoken.h index d0d6f3276..ef5d2db2a 100644 --- a/includes/dhctoken.h +++ b/includes/dhctoken.h @@ -301,7 +301,8 @@ enum dhcp_token { BOUND = 597, RENEWING = 598, REBINDING = 599, - RECONTACT_INTERVAL = 600 + RECONTACT_INTERVAL = 600, + CLIENT_UPDATES = 601 }; #define is_identifier(x) ((x) >= FIRST_TOKEN && \