|
|
@@ -87,7 +87,7 @@
|
|
|
LIBNETDISSECT_SRC=\
|
|
|
addrtoname.c \
|
|
|
addrtostr.c \
|
|
|
-@@ -254,6 +334,8 @@ LIBNETDISSECT_SRC=\
|
|
|
+@@ -253,6 +333,8 @@ LIBNETDISSECT_SRC=\
|
|
|
strtoaddr.c \
|
|
|
util-print.c
|
|
|
|
|
|
@@ -215,7 +215,7 @@
|
|
|
break;
|
|
|
--- a/print-icmp6.c
|
|
|
+++ b/print-icmp6.c
|
|
|
-@@ -1369,7 +1369,7 @@ get_upperlayer(netdissect_options *ndo,
|
|
|
+@@ -1383,7 +1383,7 @@ get_upperlayer(netdissect_options *ndo,
|
|
|
nh = GET_U_1(fragh->ip6f_nxt);
|
|
|
hlen = sizeof(struct ip6_frag);
|
|
|
break;
|
|
|
@@ -224,7 +224,7 @@
|
|
|
case IPPROTO_AH:
|
|
|
ah = (const struct ah *)bp;
|
|
|
if (!ND_TTEST_1(ah->ah_len))
|
|
|
-@@ -1377,7 +1377,7 @@ get_upperlayer(netdissect_options *ndo,
|
|
|
+@@ -1391,7 +1391,7 @@ get_upperlayer(netdissect_options *ndo,
|
|
|
nh = GET_U_1(ah->ah_nxt);
|
|
|
hlen = (GET_U_1(ah->ah_len) + 2) << 2;
|
|
|
break;
|
|
|
@@ -337,7 +337,7 @@
|
|
|
default:
|
|
|
/*
|
|
|
* AH and ESP are, in the RFCs that describe them,
|
|
|
-@@ -371,6 +372,7 @@ ip6_print(netdissect_options *ndo, const
|
|
|
+@@ -373,6 +374,7 @@ ip6_print(netdissect_options *ndo, const
|
|
|
nh = GET_U_1(cp);
|
|
|
break;
|
|
|
|
|
|
@@ -345,7 +345,7 @@
|
|
|
case IPPROTO_FRAGMENT:
|
|
|
advance = frag6_print(ndo, cp, (const u_char *)ip6);
|
|
|
if (advance < 0 || ndo->ndo_snapend <= cp + advance) {
|
|
|
-@@ -401,7 +403,7 @@ ip6_print(netdissect_options *ndo, const
|
|
|
+@@ -403,7 +405,7 @@ ip6_print(netdissect_options *ndo, const
|
|
|
nh = GET_U_1(cp);
|
|
|
nd_pop_packet_info(ndo);
|
|
|
return;
|
|
|
@@ -532,7 +532,7 @@
|
|
|
/*
|
|
|
--- a/print-tcp.c
|
|
|
+++ b/print-tcp.c
|
|
|
-@@ -612,6 +612,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -629,6 +629,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
ND_PRINT(" %u", utoval);
|
|
|
break;
|
|
|
|
|
|
@@ -540,7 +540,7 @@
|
|
|
case TCPOPT_MPTCP:
|
|
|
{
|
|
|
const u_char *snapend_save;
|
|
|
-@@ -635,7 +636,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -652,7 +653,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
goto bad;
|
|
|
break;
|
|
|
}
|
|
|
@@ -549,7 +549,7 @@
|
|
|
case TCPOPT_FASTOPEN:
|
|
|
datalen = len - 2;
|
|
|
LENCHECK(datalen);
|
|
|
-@@ -720,6 +721,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -740,6 +741,7 @@ tcp_print(netdissect_options *ndo,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@@ -557,7 +557,7 @@
|
|
|
if (ndo->ndo_packettype) {
|
|
|
switch (ndo->ndo_packettype) {
|
|
|
case PT_ZMTP1:
|
|
|
-@@ -735,12 +737,15 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -755,12 +757,15 @@ tcp_print(netdissect_options *ndo,
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
|
@@ -573,7 +573,7 @@
|
|
|
} else if (IS_SRC_OR_DST_PORT(TELNET_PORT)) {
|
|
|
telnet_print(ndo, bp, length);
|
|
|
} else if (IS_SRC_OR_DST_PORT(SMTP_PORT)) {
|
|
|
-@@ -759,10 +764,12 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -779,10 +784,12 @@ tcp_print(netdissect_options *ndo,
|
|
|
} else if (IS_SRC_OR_DST_PORT(NETBIOS_SSN_PORT)) {
|
|
|
nbt_tcp_print(ndo, bp, length);
|
|
|
#endif
|
|
|
@@ -587,7 +587,7 @@
|
|
|
#ifdef ENABLE_SMB
|
|
|
} else if (IS_SRC_OR_DST_PORT(SMB_PORT)) {
|
|
|
smb_tcp_print(ndo, bp, length);
|
|
|
-@@ -770,18 +777,22 @@ tcp_print(netdissect_options *ndo,
|
|
|
+@@ -790,18 +797,22 @@ tcp_print(netdissect_options *ndo,
|
|
|
} else if (IS_SRC_OR_DST_PORT(RTSP_PORT)) {
|
|
|
ND_PRINT(": ");
|
|
|
rtsp_print(ndo, bp, length);
|
|
|
@@ -752,8 +752,8 @@
|
|
|
else if (IS_SRC_OR_DST_PORT(SIP_PORT))
|
|
|
sip_print(ndo, cp, length);
|
|
|
+#ifndef TCPDUMP_MINI
|
|
|
- else if (IS_SRC_OR_DST_PORT(OTV_PORT))
|
|
|
- otv_print(ndo, cp, length);
|
|
|
+ else if (IS_SRC_OR_DST_PORT(VXLAN_LINUX_PORT))
|
|
|
+ vxlan_print(ndo, cp, length);
|
|
|
else if (IS_SRC_OR_DST_PORT(VXLAN_PORT))
|
|
|
@@ -721,6 +748,7 @@ udp_print(netdissect_options *ndo, const
|
|
|
someip_print(ndo, cp, length);
|