]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-udp.c
Add support for the Marvell Extended Distributed Switch Architecture header
[tcpdump] / print-udp.c
index 49097daa391967506a110436d054af082fa00a44..17816121a6c987261ab137db90e8689440729238 100644 (file)
@@ -19,7 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -444,7 +443,7 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length,
 
                case PT_CNFP:
                        udpipaddr_print(ndo, ip, sport, dport);
-                       cnfp_print(ndo, cp, (const u_char *)ip);
+                       cnfp_print(ndo, cp);
                        break;
 
                case PT_TFTP: