]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip-demux.c
Put "{" at end of line with "switch" to keep a consistent style
[tcpdump] / print-ip-demux.c
index b111c6deb7e894a9f5b1ce729955521ae72b8709..a71d8c1257f9d018b9794f198501e92b2d4b77a2 100644 (file)
@@ -198,7 +198,7 @@ again:
                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;
 
@@ -216,6 +216,10 @@ again:
                }
                break;
 
+       case IPPROTO_NHRP:
+               nhrp_print(ndo, bp, length);
+               break;
+
        case IPPROTO_NONE:
                ND_PRINT("no next header");
                break;