2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

In dns_name_totext, if omit_final_dot is true and the name is the root,

override omit_final_dot and print "."
This commit is contained in:
Brian Wellington
2000-05-23 23:34:40 +00:00
parent 244ec6e624
commit e6d420aea9

View File

@@ -1692,6 +1692,7 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot,
return (ISC_R_NOSPACE);
*tdata++ = '.';
trem--;
omit_final_dot = ISC_FALSE;
}
while (labels > 0 && nlen > 0 && trem > 0) {