[Bug 217640] net/nsd can't build 4.1.15 from ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 9 10:43:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217640

--- Comment #6 from w.schwarzenfeld at utanet.at ---
Please, correct the title.
---
If I am right, this should be the solution:

--- query.c.orig        2017-03-08 21:16:20 UTC
+++ query.c
@@ -664,7 +664,7 @@ add_additional_rrsets(struct query *quer
                        temp->rnode = NULL;
                        temp->dname = additional->dname;
 #else
-                       memcpy(&temp->node, &additional->node,
sizeof(rbnode_t));
+                       memcpy(&temp->node, &additional->node,
sizeof(rbnode_type));
                        temp->node.parent = NULL;
 #endif
                        temp->number = additional->number;
@@ -1113,7 +1113,7 @@ answer_authoritative(struct nsd   *nsd,
                match->rnode = NULL;
                match->dname = wildcard_child->dname;
 #else
-               memcpy(&match->node, &wildcard_child->node, sizeof(rbnode_t));
+               memcpy(&match->node, &wildcard_child->node,
sizeof(rbnode_type));
                match->node.parent = NULL;
 #endif
                match->parent = closest_encloser;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list