freebsd-ports/net/tcpview/files/patch-print_null.c
Daichi GOTO 54c1e4fa8b fix net/tcpview: Chase AF_{NS/NETBIOS} (bento)
PR:		52124
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
2003-07-23 05:37:49 +00:00

20 lines
393 B
C

--- print-null.c.orig Mon May 12 17:35:00 2003
+++ print-null.c Mon May 12 17:36:30 2003
@@ -76,9 +76,17 @@
printf("ip: ");
break;
+#ifdef AF_NS
case AF_NS:
printf("ns: ");
break;
+#endif /* AF_NS */
+#ifdef AF_NETBIOS
+ case AF_NETBIOS:
+ printf("netbios: ");
+ break;
+#endif /* AF_NETBIOS */
+
default:
printf("AF %d: ", family);