summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-scope.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-05 17:01:33 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-05 17:02:46 +0200
commit6e0684729420912df019cc64d3f8a3c8290cc5f1 (patch)
tree23919408824ac60fb8f5bcc532d6558e9aa955c5 /src/resolve/resolved-dns-scope.c
parentaea2429d6ec32261dbf6b9caa125fcc6ea9ea76a (diff)
resolved: add 100ms initial jitter to all LLMNR requests
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r--src/resolve/resolved-dns-scope.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index 8d16101dc7..40c326a81d 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -549,6 +549,11 @@ void dns_scope_process_query(DnsScope *s, DnsStream *stream, DnsPacket *p) {
return;
}
+ /* Note that we always immediately reply to all LLMNR
+ * requests, and do not wait any time, since we
+ * verified uniqueness for all records. Also see RFC
+ * 4795, Section 2.7 */
+
r = manager_send(s->manager, fd, p->ifindex, p->family, &p->sender, p->sender_port, reply);
}