Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
e6a480f0
Commit
e6a480f0
authored
Apr 06, 2000
by
Ted Lemon
Browse files
Add KEY, SECRET and ALGORITHM. Remove TSIG_KEY.
parent
6247476e
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/conflex.c
View file @
e6a480f0
...
...
@@ -43,7 +43,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: conflex.c,v 1.7
0
2000/04/0
4 06:25
:5
1
mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: conflex.c,v 1.7
1
2000/04/0
6 22:38
:5
2
mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include
"dhcpd.h"
...
...
@@ -490,8 +490,6 @@ static enum dhcp_token intern (atom, dfv)
}
if
(
!
strcasecmp
(
atom
+
1
,
"uthoritative"
))
return
AUTHORITATIVE
;
if
(
!
strcasecmp
(
atom
+
1
,
"uth-key"
))
return
AUTH_KEY
;
break
;
}
if
(
!
strcasecmp
(
atom
+
1
,
"nd"
))
...
...
@@ -502,6 +500,8 @@ static enum dhcp_token intern (atom, dfv)
return
ALLOW
;
if
(
!
strcasecmp
(
atom
+
1
,
"lias"
))
return
ALIAS
;
if
(
!
strcasecmp
(
atom
+
1
,
"lgorithm"
))
return
ALGORITHM
;
if
(
!
strcasecmp
(
atom
+
1
,
"bandoned"
))
return
ABANDONED
;
if
(
!
strcasecmp
(
atom
+
1
,
"dd"
))
...
...
@@ -685,6 +685,8 @@ static enum dhcp_token intern (atom, dfv)
case
'k'
:
if
(
!
strcasecmp
(
atom
+
1
,
"nown"
))
return
KNOWN
;
if
(
!
strcasecmp
(
atom
+
1
,
"ey"
))
return
KEY
;
break
;
case
'l'
:
if
(
!
strcasecmp
(
atom
+
1
,
"ease"
))
...
...
@@ -834,6 +836,8 @@ static enum dhcp_token intern (atom, dfv)
return
NS_REFUSED
;
break
;
case
's'
:
if
(
!
strcasecmp
(
atom
+
1
,
"ecret"
))
return
SECRET
;
if
(
!
strcasecmp
(
atom
+
1
,
"ervfail"
))
return
NS_SERVFAIL
;
if
(
!
strcasecmp
(
atom
+
1
,
"witch"
))
...
...
@@ -887,8 +891,6 @@ static enum dhcp_token intern (atom, dfv)
return
TOKEN_SET
;
break
;
case
't'
:
if
(
!
strcasecmp
(
atom
+
1
,
"sig-key"
))
return
TSIG_KEY
;
if
(
!
strcasecmp
(
atom
+
1
,
"imestamp"
))
return
TIMESTAMP
;
if
(
!
strcasecmp
(
atom
+
1
,
"imeout"
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment