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
BIND
Commits
ebdeea56
Commit
ebdeea56
authored
Jan 22, 2018
by
Evan Hunt
Browse files
[master] fix test failure by sorting "type" to the top of zone clauses
parent
0405014c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isccfg/namedconf.c
View file @
ebdeea56
...
...
@@ -2221,6 +2221,11 @@ zone_only_clauses[] = {
* Note that the format of the check-names option is different between
* the zone options and the global/view options. Ugh.
*/
{
"type"
,
&
cfg_type_zonetype
,
CFG_ZONE_MASTER
|
CFG_ZONE_SLAVE
|
CFG_ZONE_STUB
|
CFG_ZONE_STATICSTUB
|
CFG_ZONE_DELEGATION
|
CFG_ZONE_HINT
|
CFG_ZONE_REDIRECT
|
CFG_ZONE_FORWARD
},
{
"check-names"
,
&
cfg_type_checkmode
,
CFG_ZONE_MASTER
|
CFG_ZONE_SLAVE
|
CFG_ZONE_HINT
|
CFG_ZONE_STUB
...
...
@@ -2265,11 +2270,6 @@ zone_only_clauses[] = {
{
"server-names"
,
&
cfg_type_namelist
,
CFG_ZONE_STATICSTUB
},
{
"type"
,
&
cfg_type_zonetype
,
CFG_ZONE_MASTER
|
CFG_ZONE_SLAVE
|
CFG_ZONE_STUB
|
CFG_ZONE_STATICSTUB
|
CFG_ZONE_DELEGATION
|
CFG_ZONE_HINT
|
CFG_ZONE_REDIRECT
|
CFG_ZONE_FORWARD
},
{
"update-policy"
,
&
cfg_type_updatepolicy
,
CFG_ZONE_MASTER
},
...
...
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