]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-gre.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-gre.c
index 66069086c4d42816425993f35a81d909228db570..73fcb923614cd68ccdf410a3a24269907d34644d 100644 (file)
@@ -89,6 +89,7 @@ gre_print(netdissect_options *ndo, const u_char *bp, u_int length)
 {
        u_int len = length, vers;
 
+       ndo->ndo_protocol = "gre";
        ND_TCHECK_2(bp);
        if (len < 2)
                goto trunc;