mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
parent
42734a21eb
commit
7fcded4055
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user