|
87 | 87 | LIBNETDISSECT_SRC=\ |
88 | 88 | addrtoname.c \ |
89 | 89 | addrtostr.c \ |
90 | | -@@ -254,6 +334,8 @@ LIBNETDISSECT_SRC=\ |
| 90 | +@@ -253,6 +333,8 @@ LIBNETDISSECT_SRC=\ |
91 | 91 | strtoaddr.c \ |
92 | 92 | util-print.c |
93 | 93 |
|
|
215 | 215 | break; |
216 | 216 | --- a/print-icmp6.c |
217 | 217 | +++ b/print-icmp6.c |
218 | | -@@ -1369,7 +1369,7 @@ get_upperlayer(netdissect_options *ndo, |
| 218 | +@@ -1383,7 +1383,7 @@ get_upperlayer(netdissect_options *ndo, |
219 | 219 | nh = GET_U_1(fragh->ip6f_nxt); |
220 | 220 | hlen = sizeof(struct ip6_frag); |
221 | 221 | break; |
|
224 | 224 | case IPPROTO_AH: |
225 | 225 | ah = (const struct ah *)bp; |
226 | 226 | if (!ND_TTEST_1(ah->ah_len)) |
227 | | -@@ -1377,7 +1377,7 @@ get_upperlayer(netdissect_options *ndo, |
| 227 | +@@ -1391,7 +1391,7 @@ get_upperlayer(netdissect_options *ndo, |
228 | 228 | nh = GET_U_1(ah->ah_nxt); |
229 | 229 | hlen = (GET_U_1(ah->ah_len) + 2) << 2; |
230 | 230 | break; |
|
337 | 337 | default: |
338 | 338 | /* |
339 | 339 | * AH and ESP are, in the RFCs that describe them, |
340 | | -@@ -371,6 +372,7 @@ ip6_print(netdissect_options *ndo, const |
| 340 | +@@ -373,6 +374,7 @@ ip6_print(netdissect_options *ndo, const |
341 | 341 | nh = GET_U_1(cp); |
342 | 342 | break; |
343 | 343 |
|
344 | 344 | +#ifndef TCPDUMP_MINI |
345 | 345 | case IPPROTO_FRAGMENT: |
346 | 346 | advance = frag6_print(ndo, cp, (const u_char *)ip6); |
347 | 347 | if (advance < 0 || ndo->ndo_snapend <= cp + advance) { |
348 | | -@@ -401,7 +403,7 @@ ip6_print(netdissect_options *ndo, const |
| 348 | +@@ -403,7 +405,7 @@ ip6_print(netdissect_options *ndo, const |
349 | 349 | nh = GET_U_1(cp); |
350 | 350 | nd_pop_packet_info(ndo); |
351 | 351 | return; |
|
532 | 532 | /* |
533 | 533 | --- a/print-tcp.c |
534 | 534 | +++ b/print-tcp.c |
535 | | -@@ -612,6 +612,7 @@ tcp_print(netdissect_options *ndo, |
| 535 | +@@ -629,6 +629,7 @@ tcp_print(netdissect_options *ndo, |
536 | 536 | ND_PRINT(" %u", utoval); |
537 | 537 | break; |
538 | 538 |
|
539 | 539 | +#ifndef TCPDUMP_MINI |
540 | 540 | case TCPOPT_MPTCP: |
541 | 541 | { |
542 | 542 | const u_char *snapend_save; |
543 | | -@@ -635,7 +636,7 @@ tcp_print(netdissect_options *ndo, |
| 543 | +@@ -652,7 +653,7 @@ tcp_print(netdissect_options *ndo, |
544 | 544 | goto bad; |
545 | 545 | break; |
546 | 546 | } |
|
549 | 549 | case TCPOPT_FASTOPEN: |
550 | 550 | datalen = len - 2; |
551 | 551 | LENCHECK(datalen); |
552 | | -@@ -720,6 +721,7 @@ tcp_print(netdissect_options *ndo, |
| 552 | +@@ -740,6 +741,7 @@ tcp_print(netdissect_options *ndo, |
553 | 553 | return; |
554 | 554 | } |
555 | 555 |
|
556 | 556 | +#ifndef TCPDUMP_MINI |
557 | 557 | if (ndo->ndo_packettype) { |
558 | 558 | switch (ndo->ndo_packettype) { |
559 | 559 | case PT_ZMTP1: |
560 | | -@@ -735,12 +737,15 @@ tcp_print(netdissect_options *ndo, |
| 560 | +@@ -755,12 +757,15 @@ tcp_print(netdissect_options *ndo, |
561 | 561 | } |
562 | 562 | return; |
563 | 563 | } |
|
573 | 573 | } else if (IS_SRC_OR_DST_PORT(TELNET_PORT)) { |
574 | 574 | telnet_print(ndo, bp, length); |
575 | 575 | } else if (IS_SRC_OR_DST_PORT(SMTP_PORT)) { |
576 | | -@@ -759,10 +764,12 @@ tcp_print(netdissect_options *ndo, |
| 576 | +@@ -779,10 +784,12 @@ tcp_print(netdissect_options *ndo, |
577 | 577 | } else if (IS_SRC_OR_DST_PORT(NETBIOS_SSN_PORT)) { |
578 | 578 | nbt_tcp_print(ndo, bp, length); |
579 | 579 | #endif |
|
587 | 587 | #ifdef ENABLE_SMB |
588 | 588 | } else if (IS_SRC_OR_DST_PORT(SMB_PORT)) { |
589 | 589 | smb_tcp_print(ndo, bp, length); |
590 | | -@@ -770,18 +777,22 @@ tcp_print(netdissect_options *ndo, |
| 590 | +@@ -790,18 +797,22 @@ tcp_print(netdissect_options *ndo, |
591 | 591 | } else if (IS_SRC_OR_DST_PORT(RTSP_PORT)) { |
592 | 592 | ND_PRINT(": "); |
593 | 593 | rtsp_print(ndo, bp, length); |
|
752 | 752 | else if (IS_SRC_OR_DST_PORT(SIP_PORT)) |
753 | 753 | sip_print(ndo, cp, length); |
754 | 754 | +#ifndef TCPDUMP_MINI |
755 | | - else if (IS_SRC_OR_DST_PORT(OTV_PORT)) |
756 | | - otv_print(ndo, cp, length); |
| 755 | + else if (IS_SRC_OR_DST_PORT(VXLAN_LINUX_PORT)) |
| 756 | + vxlan_print(ndo, cp, length); |
757 | 757 | else if (IS_SRC_OR_DST_PORT(VXLAN_PORT)) |
758 | 758 | @@ -721,6 +748,7 @@ udp_print(netdissect_options *ndo, const |
759 | 759 | someip_print(ndo, cp, length); |
|
0 commit comments