Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
69
Issues
69
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
34731eed
Commit
34731eed
authored
Jan 25, 2000
by
Ted Lemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EVAL, let, pick, unset.
parent
49bc3bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
common/conflex.c
common/conflex.c
+10
-7
No files found.
common/conflex.c
View file @
34731eed
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: conflex.c,v 1.6
4 2000/01/08 01:27:54
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: conflex.c,v 1.6
5 2000/01/25 01:03:36
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -534,10 +534,6 @@ static enum dhcp_token intern (atom, dfv)
return
COMMUNICATIONS_INTERRUPTED
;
break
;
case
'd'
:
if
(
!
strcasecmp
(
atom
+
1
,
"dns-fwd-name"
))
return
DDNS_FWD_NAME
;
if
(
!
strcasecmp
(
atom
+
1
,
"dns-rev-name"
))
return
DDNS_REV_NAME
;
if
(
!
strcasecmp
(
atom
+
1
,
"ns-update"
))
return
DNS_UPDATE
;
if
(
!
strcasecmp
(
atom
+
1
,
"ns-delete"
))
...
...
@@ -601,6 +597,8 @@ static enum dhcp_token intern (atom, dfv)
return
ELSIF
;
break
;
}
if
(
!
strcasecmp
(
atom
+
1
,
"val"
))
return
EVAL
;
break
;
case
'f'
:
if
(
!
strcasecmp
(
atom
+
1
,
"ilename"
))
...
...
@@ -665,6 +663,8 @@ static enum dhcp_token intern (atom, dfv)
return
LEASE_TIME
;
if
(
!
strcasecmp
(
atom
+
1
,
"imit"
))
return
LIMIT
;
if
(
!
strcasecmp
(
atom
+
1
,
"et"
))
return
LET
;
break
;
case
'm'
:
if
(
!
strncasecmp
(
atom
+
1
,
"ax-"
,
3
))
{
...
...
@@ -769,8 +769,9 @@ static enum dhcp_token intern (atom, dfv)
return
PORT
;
if
(
!
strcasecmp
(
atom
+
1
,
"otential-conflict"
))
return
POTENTIAL_CONFLICT
;
if
(
!
strcasecmp
(
atom
+
1
,
"ick-first-value"
))
return
PICK_FIRST_VALUE
;
if
(
!
strcasecmp
(
atom
+
1
,
"ick-first-value"
)
||
!
strcasecmp
(
atom
+
1
,
"ick"
))
return
PICK
;
break
;
case
'r'
:
if
(
!
strcasecmp
(
atom
+
1
,
"ange"
))
...
...
@@ -868,6 +869,8 @@ static enum dhcp_token intern (atom, dfv)
return
TSFP
;
break
;
case
'u'
:
if
(
!
strcasecmp
(
atom
+
1
,
"nset"
))
return
UNSET
;
if
(
!
strcasecmp
(
atom
+
1
,
"nsigned"
))
return
UNSIGNED
;
if
(
!
strcasecmp
(
atom
+
1
,
"id"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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