diff options
author | Tom Gundersen <teg@jklm.no> | 2016-01-05 15:47:15 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-01-05 15:47:15 +0100 |
commit | 16b85c51edb7a41906dcc6ea276653949a7c8d16 (patch) | |
tree | c5e0472d9c0e6b133eae200370f3da3fe7247315 /src/resolve/resolved-mdns.c | |
parent | 2135de9adbe880ac80cb82e25347ff5dcc958570 (diff) | |
parent | b5a8703fdb8e16f760bfb730df64f07173bb881d (diff) |
Merge pull request #2269 from poettering/dnssec11
Eleventh DNSSEC patch set
Diffstat (limited to 'src/resolve/resolved-mdns.c')
-rw-r--r-- | src/resolve/resolved-mdns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-mdns.c b/src/resolve/resolved-mdns.c index db23bc9d42..7c1012f4ea 100644 --- a/src/resolve/resolved-mdns.c +++ b/src/resolve/resolved-mdns.c @@ -122,7 +122,7 @@ static int on_mdns_packet(sd_event_source *s, int fd, uint32_t revents, void *us dns_transaction_process_reply(t, p); } - dns_cache_put(&scope->cache, NULL, DNS_PACKET_RCODE(p), p->answer, false, 0, p->family, &p->sender); + dns_cache_put(&scope->cache, NULL, DNS_PACKET_RCODE(p), p->answer, false, (uint32_t) -1, 0, p->family, &p->sender); } else if (dns_packet_validate_query(p) > 0) { log_debug("Got mDNS query packet for id %u", DNS_PACKET_ID(p)); |