resolved: fix serialization of the root domain

This commit is contained in:
Lennart Poettering 2016-01-02 22:11:38 +01:00
parent f2af5ea3cb
commit e48b9a6490
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ int dns_packet_append_name(
saved_size = p->size;
while (*name) {
while (!dns_name_is_root(name)) {
const char *z = name;
char label[DNS_LABEL_MAX];
size_t n = 0;