From 7b31f60de991c35771b14594d4570c974158c1ec Mon Sep 17 00:00:00 2001 From: Jan Vcelak <jan.vcelak@nic.cz> Date: Wed, 9 Apr 2014 21:15:03 +0200 Subject: [PATCH] node flags: referer to enum with all flags --- src/knot/nameserver/internet.c | 3 +-- src/knot/zone/node.h | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/knot/nameserver/internet.c b/src/knot/nameserver/internet.c index 44b178880..9101641ba 100644 --- a/src/knot/nameserver/internet.c +++ b/src/knot/nameserver/internet.c @@ -469,8 +469,7 @@ static int name_not_found(knot_pkt_t *pkt, struct query_data *qdata) int next_state = name_found(pkt, qdata); /* Put to wildcard node list. */ - if (wildcard_visit(qdata, wildcard_node, qdata->name) - != KNOT_EOK) { + if (wildcard_visit(qdata, wildcard_node, qdata->name) != KNOT_EOK) { next_state = ERROR; } diff --git a/src/knot/zone/node.h b/src/knot/zone/node.h index 879cc7a15..51dbf2d3e 100644 --- a/src/knot/zone/node.h +++ b/src/knot/zone/node.h @@ -35,7 +35,6 @@ struct rr_data; - /*! * \brief Structure representing one node in a domain name tree, i.e. one domain * name in a zone. @@ -73,11 +72,7 @@ struct knot_node { /*! * \brief Various flags. * - * 0x01 - node is a delegation point - * 0x02 - node is non-authoritative (under a delegation point) - * 0x04 - NSEC(3) was removed from the node. - * 0x08 - Node has a wildcard child. - * 0x10 - node is empty and will be deleted after update + * \ref knot_node_flags_t */ uint8_t flags; }; -- GitLab