summaryrefslogtreecommitdiff
path: root/lib/dns/name.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/name.c')
-rw-r--r--lib/dns/name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dns/name.c b/lib/dns/name.c
index 5207f74b4240..3b7ff3f962bf 100644
--- a/lib/dns/name.c
+++ b/lib/dns/name.c
@@ -579,6 +579,7 @@ dns_name_fullcompare(const dns_name_t *name1, const dns_name_t *name2,
if (name1 == name2) {
*orderp = 0;
+ *nlabelsp = name1->labels;
return (dns_namereln_equal);
}