]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pim.c
Add support for the Marvell Extended Distributed Switch Architecture header
[tcpdump] / print-pim.c
index 567d3d9954ca508ddd6fa0e54f44e9a93516a069..a8bcdcf81fa6c5f1bed9a03aba7f079cca4b4f3a 100644 (file)
@@ -19,7 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -768,11 +767,11 @@ pimv2_print(netdissect_options *ndo,
                case 4: /* IPv4 */
                        ip_print(ndo, bp, len);
                        break;
-#ifdef INET6
+
                case 6: /* IPv6 */
                        ip6_print(ndo, bp, len);
                        break;
-#endif
+
                default:
                        ND_PRINT((ndo, "IP ver %d", IP_V(ip)));
                        break;