From: Ted Lemon Date: Thu, 25 Jan 2001 08:20:24 +0000 (+0000) Subject: Add TRANSMISSION keyword X-Git-Tag: V3-BETA-2-PATCH-15~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1687c64b430972eaf65fa8176cf3919449d83a69;p=thirdparty%2Fdhcp.git Add TRANSMISSION keyword --- diff --git a/common/conflex.c b/common/conflex.c index df7a06251..d0c4812dd 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: conflex.c,v 1.86 2001/01/16 22:50:02 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: conflex.c,v 1.87 2001/01/25 08:20:21 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -977,6 +977,8 @@ static enum dhcp_token intern (atom, dfv) return TSTP; if (!strcasecmp (atom + 1, "sfp")) return TSFP; + if (!strcasecmp (atom + 1, "ransmission")) + return TRANSMISSION; break; case 'u': if (!strcasecmp (atom + 1, "nset")) diff --git a/includes/dhctoken.h b/includes/dhctoken.h index 7dab55c78..f9e2360f5 100644 --- a/includes/dhctoken.h +++ b/includes/dhctoken.h @@ -303,7 +303,8 @@ enum dhcp_token { REBINDING = 599, RECONTACT_INTERVAL = 600, CLIENT_UPDATES = 601, - TOKEN_NEW + TOKEN_NEW = 601, + TRANSMISSION = 602 }; #define is_identifier(x) ((x) >= FIRST_TOKEN && \