mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user