chiark / gitweb /
basic: fix for IPv6 status (#4224)
[elogind.git] / src / basic / socket-util.c
index 16646ff9d83987bc90b0d4a303fe65a9b6bbaf10..d8006e66ebb38ea1fac1f03b8f399156f1131998 100644 (file)
@@ -441,7 +441,7 @@ const char* socket_address_get_path(const SocketAddress *a) {
 #endif // 0
 
 bool socket_ipv6_is_supported(void) {
-        if (access("/proc/net/sockstat6", F_OK) != 0)
+        if (access("/proc/net/if_inet6", F_OK) != 0)
                 return false;
 
         return true;