Commit ec172db4 authored by Daniel Salzman's avatar Daniel Salzman

knsupdate: fix line parsing if non-FQDN owner and end of line

parent c978a587
......@@ -184,7 +184,7 @@ static int parse_partial_rr(zs_scanner_t *s, const char *lp, unsigned flags)
/* Make dname FQDN if it isn't. */
bool fqdn = true;
if (owner_str[len - 1] != '.') {
owner_str[len++] = '.';
owner_str[len] = '.';
fqdn = false;
}
......
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