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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user