opnsense-ports/net/tcpview/files/patch-print_null.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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);