net.c: use AF_INET6 unconditionally

* net.c (SYS_FUNC(socket)): Do not check for AF_INET6 availability.
This commit is contained in:
Дмитрий Левин 2016-06-15 21:56:58 +00:00
parent a8d467e7a2
commit 5e26ee2221

2
net.c
View File

@ -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