diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-02 22:11:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-02 22:16:16 +0100 |
commit | e48b9a6490222f59201615a1be25c0a46d7d79b5 (patch) | |
tree | 518271dcecc892a8965c669c5ce2abe94f107b13 /src | |
parent | f2af5ea3cbf54998ed41d2d21a3448abb92ca7ff (diff) |
resolved: fix serialization of the root domain
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dns-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index 5cc96308da..4750bf1f5d 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -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; |