Commit e6d420ae authored by Brian Wellington's avatar Brian Wellington
Browse files

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

override omit_final_dot and print "."
parent 244ec6e6
......@@ -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) {
......
Markdown is supported
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