summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-scope.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-29 23:51:34 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-29 23:53:08 +0200
commitbf3f1271e2cc0c22b11c8a805a997578dabe9191 (patch)
treeecab14a27b61874883630fd2388f408078a83b8e /src/resolve/resolved-dns-scope.c
parent088b6ba2648db1899fd956bf8238f0706fbe6c45 (diff)
resolved: set LLMNR TCP and UDP TTLs to the values suggested by the RFC
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r--src/resolve/resolved-dns-scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index b226f5a457..5742f3ef47 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -254,7 +254,7 @@ int dns_scope_tcp_socket(DnsScope *s, int family, const union in_addr_union *add
}
if (s->protocol == DNS_PROTOCOL_LLMNR) {
- /* RFC 4795, section 2.5 suggests the TTL to be set to 1 */
+ /* RFC 4795, section 2.5 requires the TTL to be set to 1 */
if (sa.sa.sa_family == AF_INET) {
r = setsockopt(fd, IPPROTO_IP, IP_TTL, &one, sizeof(one));