2003-06-23  Roland McGrath  <roland@redhat.com>

	* net.c (sys_socket): Decode protocol for PF_INET6 same as PF_INET.
	From Ulrich Drepper <drepper@redhat.com>.
diff --git a/net.c b/net.c
index b136b42..b5ec383 100644
--- a/net.c
+++ b/net.c
@@ -887,6 +887,9 @@
 		tprintf(", ");
 		switch (tcp->u_arg[0]) {
 		case PF_INET:
+#ifdef PF_INET6
+		case PF_INET6:
+#endif
 			printxval(protocols, tcp->u_arg[2], "IPPROTO_???");
 			break;
 #ifdef PF_IPX