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
BIND
Commits
608c703d
Commit
608c703d
authored
Mar 06, 2002
by
Mark Andrews
Browse files
1221. [bug] Zone types 'master', 'slave' and 'stub' were not being
compared case insensitively. [RT #2542]
parent
b8b9e2bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
608c703d
1221. [bug] Zone types 'master', 'slave' and 'stub' were not being
compared case insensitively. [RT #2542]
1220. [func] Support for APL rdata type.
1219. [func] Named now reports the TSIG extended error code when
...
...
bin/named/config.c
View file @
608c703d
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.2
7
2002/0
2/20 03:33:10
marka Exp $ */
/* $Id: config.c,v 1.2
8
2002/0
3/06 23:52:38
marka Exp $ */
#include
<config.h>
...
...
@@ -224,11 +224,11 @@ ns_config_getzonetype(cfg_obj_t *zonetypeobj) {
char
*
str
;
str
=
cfg_obj_asstring
(
zonetypeobj
);
if
(
strcmp
(
str
,
"master"
)
==
0
)
if
(
strc
asec
mp
(
str
,
"master"
)
==
0
)
ztype
=
dns_zone_master
;
else
if
(
strcmp
(
str
,
"slave"
)
==
0
)
else
if
(
strc
asec
mp
(
str
,
"slave"
)
==
0
)
ztype
=
dns_zone_slave
;
else
if
(
strcmp
(
str
,
"stub"
)
==
0
)
else
if
(
strc
asec
mp
(
str
,
"stub"
)
==
0
)
ztype
=
dns_zone_stub
;
else
INSIST
(
0
);
...
...
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