Skip to content
Snippets Groups Projects
Commit 7b31f60d authored by Jan Včelák's avatar Jan Včelák :rocket: Committed by Jan Kadlec
Browse files

node flags: referer to enum with all flags

parent 7e20800f
Branches
Tags
No related merge requests found
......@@ -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;
}
......
......@@ -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;
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment