summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-packet.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-01-03 14:02:10 +0100
committerTom Gundersen <teg@jklm.no>2016-01-03 14:02:10 +0100
commit113325b8641207a99447d8a439e7ffac1e69f196 (patch)
tree169dab1461ecff7e55fc54c7702d80511c2bd5ae /src/resolve/resolved-dns-packet.c
parent5809f340fd7e5e6c76e229059c50d92e1f57e8d8 (diff)
parentc1dafe4f310aeb80d513c00a388d8cbb5a397838 (diff)
Merge pull request #2256 from poettering/dnssec10
Tenth DNSSEC patch set
Diffstat (limited to 'src/resolve/resolved-dns-packet.c')
-rw-r--r--src/resolve/resolved-dns-packet.c2
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;