From: Dmitry V. Levin Date: Wed, 15 Jun 2016 21:56:58 +0000 (+0000) Subject: net.c: use AF_INET6 unconditionally X-Git-Tag: v4.13~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e26ee2221e2991121ede72fcb4be2d0ff969dc8;p=strace net.c: use AF_INET6 unconditionally * net.c (SYS_FUNC(socket)): Do not check for AF_INET6 availability. --- diff --git a/net.c b/net.c index cb4e6369..124ac8dc 100644 --- a/net.c +++ b/net.c @@ -774,9 +774,7 @@ SYS_FUNC(socket) tprints(", "); switch (tcp->u_arg[0]) { case AF_INET: -#ifdef AF_INET6 case AF_INET6: -#endif printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); break; #ifdef AF_IPX