diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-19 21:01:57 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-20 08:25:10 +0200 |
commit | d149a404b134c426a9096f02618eb04506ea976c (patch) | |
tree | b3dc317322cc199a6279d9199bf801a57d0e194d | |
parent | resolve: do not log about negative cache for mdns packets (diff) | |
download | systemd-d149a404b134c426a9096f02618eb04506ea976c.tar.gz systemd-d149a404b134c426a9096f02618eb04506ea976c.tar.bz2 systemd-d149a404b134c426a9096f02618eb04506ea976c.zip |
resolve: fix log message
-rw-r--r-- | src/resolve/resolved-dns-rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-rr.c b/src/resolve/resolved-dns-rr.c index b99322314..cfd0ed214 100644 --- a/src/resolve/resolved-dns-rr.c +++ b/src/resolve/resolved-dns-rr.c @@ -331,7 +331,7 @@ char* dns_resource_key_to_string(const DnsResourceKey *key, char *buf, size_t bu snprintf(buf, buf_size, "%s %s%s%.0u %s%s%.0u", dns_resource_key_name(key), strempty(c), c ? "" : "CLASS", c ? 0 : key->class, - strempty(t), t ? "" : "TYPE", t ? 0 : key->class); + strempty(t), t ? "" : "TYPE", t ? 0 : key->type); return ans; } |