Skip to content
GitLab
Menu
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
26be82af
Commit
26be82af
authored
Jul 10, 2007
by
David Hankins
Browse files
- Fixed a bug with the 'ddns-updates' boolean server configuration
parameter, which caused the server to fail. [ISC-Bugs #17002]
parent
2e13ba55
Changes
2
Hide whitespace changes
Inline
Side-by-side
RELNOTES
View file @
26be82af
...
...
@@ -90,6 +90,9 @@ suggested fixes to <dhcp-users@isc.org>.
-
Fixed
a
bug
parsing
DHCPv6
client
-
id
's in host-identifier statements
- Fixed a bug with the '
ddns
-
updates
' boolean server configuration
parameter, which caused the server to fail.
Changes since 4.0.0-20070413
- Old (expired) leases are now cleaned.
...
...
common/tree.c
View file @
26be82af
...
...
@@ -34,7 +34,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: tree.c,v 1.11
6
2007/0
6/07 15:52:29
dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.
\n
"
;
"$Id: tree.c,v 1.11
7
2007/0
7/10 21:42:05
dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -2972,12 +2972,16 @@ int evaluate_boolean_option_cache (ignorep, packet,
cfg_options
,
scope
,
oc
,
file
,
line
))
return
0
;
/* The boolean option cache is actually a trinary value. Zero is
* off, one is on, and 2 is 'ignore'.
*/
if
(
ds
.
len
)
{
result
=
ds
.
data
[
0
];
if
(
result
==
2
)
{
result
=
0
;
*
ignorep
=
1
;
}
else
if
(
ignorep
!=
NULL
)
*
ignorep
=
1
;
}
else
if
(
ignorep
!=
NULL
)
*
ignorep
=
0
;
}
else
result
=
0
;
...
...
Write
Preview
Supports
Markdown
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