diff --git a/src/resolve/resolved-llmnr.c b/src/resolve/resolved-llmnr.c index 8fac351ee6d..9469bdac869 100644 --- a/src/resolve/resolved-llmnr.c +++ b/src/resolve/resolved-llmnr.c @@ -45,7 +45,7 @@ int manager_llmnr_start(Manager *m) { if (r < 0) return r; - if (socket_ipv6_is_supported()) { + if (socket_ipv6_is_enabled()) { r = manager_llmnr_ipv6_udp_fd(m); if (r == -EADDRINUSE) goto eaddrinuse; diff --git a/src/resolve/resolved-mdns.c b/src/resolve/resolved-mdns.c index b63073af7fd..3e6e83fe625 100644 --- a/src/resolve/resolved-mdns.c +++ b/src/resolve/resolved-mdns.c @@ -36,7 +36,7 @@ int manager_mdns_start(Manager *m) { if (r < 0) return r; - if (socket_ipv6_is_supported()) { + if (socket_ipv6_is_enabled()) { r = manager_mdns_ipv6_fd(m); if (r == -EADDRINUSE) goto eaddrinuse;