summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-print-null.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-02-14 21:02:51 -0800
committerCy Schubert <cy@FreeBSD.org>2023-02-15 08:55:01 -0800
commitb4c6b8717bcfc34a90c054805a98178b98878a3d (patch)
treef9b8e0fcd4095d8441217a37c84ee0c5975f18c9 /net/tcpview/files/patch-print-null.c
parentx11/xforward: Permanently fix LLVM15 build error (diff)
net/tcpview: Regenerate patches
Regenerate patches using makepatch.
Diffstat (limited to 'net/tcpview/files/patch-print-null.c')
-rw-r--r--net/tcpview/files/patch-print-null.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/tcpview/files/patch-print-null.c b/net/tcpview/files/patch-print-null.c
new file mode 100644
index 000000000000..0c0a4879c409
--- /dev/null
+++ b/net/tcpview/files/patch-print-null.c
@@ -0,0 +1,20 @@
+--- print-null.c.orig 1993-04-22 20:40:19 UTC
++++ print-null.c
+@@ -76,9 +76,17 @@ null_print(p, ip, length)
+ 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);