1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-21 22:04:01 +03:00

resolve: update the referenced RFC & section for mDNS

Resolves: #20386
This commit is contained in:
Frantisek Sumsal 2022-03-11 16:55:55 +01:00
parent 42734a21eb
commit 7fcded4055

View File

@ -520,7 +520,7 @@ int manager_mdns_ipv6_fd(Manager *m) {
if (r < 0)
return log_error_errno(r, "mDNS-IPv6: Failed to set IPV6_UNICAST_HOPS: %m");
/* RFC 4795, section 2.5 recommends setting the TTL of UDP packets to 255. */
/* RFC 6762, section 11 recommends setting the TTL of UDP packets to 255. */
r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255);
if (r < 0)
return log_error_errno(r, "mDNS-IPv6: Failed to set IPV6_MULTICAST_HOPS: %m");