]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip-demux.c
Fix incompatible pointer types with time functions calls on Windows
[tcpdump] / print-ip-demux.c
index a71d8c1257f9d018b9794f198501e92b2d4b77a2..50693569819ebb2fa7e810b6ae379b47df3b5870 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv4/IPv6 payload printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -104,7 +102,7 @@ again:
 
        case IPPROTO_ICMP:
                if (ver == 4)
-                       icmp_print(ndo, bp, length, iph, fragmented);
+                       icmp_print(ndo, bp, length, fragmented);
                else {
                        ND_PRINT("[%s requires IPv4]",
                                 tok2str(ipproto_values,"unknown",nh));