mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-27 17:09:20 -05:00
add unset type to localzone_type enum, used for unset tag_action elements
git-svn-id: file:///svn/unbound/trunk@3946 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
3b96c4c9cd
commit
3e1ff464f1
2 changed files with 5 additions and 2 deletions
|
|
@ -1593,6 +1593,7 @@ local_zones_answer(struct local_zones* zones, struct query_info* qinfo,
|
|||
const char* local_zone_type2str(enum localzone_type t)
|
||||
{
|
||||
switch(t) {
|
||||
case local_zone_unset: return "unset";
|
||||
case local_zone_deny: return "deny";
|
||||
case local_zone_refuse: return "refuse";
|
||||
case local_zone_redirect: return "redirect";
|
||||
|
|
|
|||
|
|
@ -60,8 +60,10 @@ struct config_strlist;
|
|||
* local-data directly.
|
||||
*/
|
||||
enum localzone_type {
|
||||
/** drop query. Start at 1 to differ from unset tag_actions element. */
|
||||
local_zone_deny = 1,
|
||||
/** unset type, used for unset tag_action elements */
|
||||
local_zone_unset = 0,
|
||||
/** drop query */
|
||||
local_zone_deny,
|
||||
/** answer with error */
|
||||
local_zone_refuse,
|
||||
/** answer nxdomain or nodata */
|
||||
|
|
|
|||
Loading…
Reference in a new issue