Skip to content

Commit 7fcded4

Browse files
committed
resolve: update the referenced RFC & section for mDNS
Resolves: systemd#20386
1 parent 42734a2 commit 7fcded4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolve/resolved-mdns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ int manager_mdns_ipv6_fd(Manager *m) {
520520
if (r < 0)
521521
return log_error_errno(r, "mDNS-IPv6: Failed to set IPV6_UNICAST_HOPS: %m");
522522

523-
/* RFC 4795, section 2.5 recommends setting the TTL of UDP packets to 255. */
523+
/* RFC 6762, section 11 recommends setting the TTL of UDP packets to 255. */
524524
r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255);
525525
if (r < 0)
526526
return log_error_errno(r, "mDNS-IPv6: Failed to set IPV6_MULTICAST_HOPS: %m");

0 commit comments

Comments
 (0)