summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-detail-domain.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-detail-domain.c
parentx11/xforward: Permanently fix LLVM15 build error (diff)
net/tcpview: Regenerate patches
Regenerate patches using makepatch.
Diffstat (limited to 'net/tcpview/files/patch-detail-domain.c')
-rw-r--r--net/tcpview/files/patch-detail-domain.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/net/tcpview/files/patch-detail-domain.c b/net/tcpview/files/patch-detail-domain.c
new file mode 100644
index 000000000000..24cf1399489c
--- /dev/null
+++ b/net/tcpview/files/patch-detail-domain.c
@@ -0,0 +1,51 @@
+--- detail-domain.c.orig 1993-04-22 20:39:51 UTC
++++ detail-domain.c
+@@ -199,6 +199,7 @@ p_type(type)
+ case T_ANY: /* matches any type */
+ strcpy(type_buf, "ANY");
+ break;
++#ifdef T_UNSPEC
+ case T_UINFO:
+ strcpy(type_buf, "UINFO");
+ break;
+@@ -211,6 +212,7 @@ p_type(type)
+ case T_UNSPEC:
+ strcpy(type_buf, "UNSPEC");
+ break;
++#endif
+ default:
+ sprintf(type_buf, "%d", type);
+ break;
+@@ -633,6 +635,7 @@ p_ans(msg, eom)
+ printf("; errors = %s\n", str);
+ MARK_WINDOW();
+
++#ifdef T_UNSPEC
+ case T_UINFO:
+ printf(" UINFO: ");
+ printf("%s\n", cp);
+@@ -654,6 +657,12 @@ p_ans(msg, eom)
+ MARK_WINDOW();
+ break;
+
++ case T_UNSPEC:
++ printf(" <binary data, see hex dump below>\n");
++ INCR_PTRS(rdlength);
++ MARK_WINDOW();
++ break;
++#endif
+ case T_WKS:
+ if (rdlength < (int)(sizeof(u_long) + 1))
+ break;
+@@ -730,11 +739,6 @@ p_ans(msg, eom)
+ break;
+
+
+- case T_UNSPEC:
+- printf(" <binary data, see hex dump below>\n");
+- INCR_PTRS(rdlength);
+- MARK_WINDOW();
+- break;
+
+
+ default: