]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip-demux.c
CMake: Fix the comment about versions. [skip ci]
[tcpdump] / print-ip-demux.c
index 8b53187cc29172e65daec8b91d00742e5e20d54d..c347b8d230da5238bd2050630413195226705904 100644 (file)
 
 /* \summary: IPv4/IPv6 payload printer */
 
 
 /* \summary: IPv4/IPv6 payload printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
@@ -200,7 +196,7 @@ again:
                if (ndo->ndo_packettype == PT_CARP) {
                        carp_print(ndo, bp, length, ttl_hl);
                } else {
                if (ndo->ndo_packettype == PT_CARP) {
                        carp_print(ndo, bp, length, ttl_hl);
                } else {
-                       vrrp_print(ndo, bp, length, iph, ttl_hl);
+                       vrrp_print(ndo, bp, length, iph, ttl_hl, ver);
                }
                break;
 
                }
                break;