mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
os: drop extra ifdefs for AF_INET6
Since IPv6 is now only defined if IPv6 is really supported, we don't need to ifdef on AF_INET6 anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1539>
This commit is contained in:
committed by
Marge Bot
parent
bc55a98d62
commit
f8057261fe
@@ -397,7 +397,7 @@ AuthAudit(ClientPtr client, Bool letin,
|
||||
snprintf(addr, sizeof(addr), "IP %s",
|
||||
inet_ntoa(((struct sockaddr_in *) saddr)->sin_addr));
|
||||
break;
|
||||
#if defined(IPv6) && defined(AF_INET6)
|
||||
#if defined(IPv6)
|
||||
case AF_INET6:{
|
||||
char ipaddr[INET6_ADDRSTRLEN];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user