]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-enc.c
index 94f4b095a1400b5a744fb25de07ef396d7de8b50..fb9b708797feda2e13a13b64a9f5b1681da37ec4 100644 (file)
@@ -103,6 +103,7 @@ enc_if_print(netdissect_options *ndo,
        u_int af, flags;
        const struct enchdr *hdr;
 
+       ndo->ndo_protocol = "enc_if";
        if (caplen < ENC_HDRLEN) {
                ND_PRINT("[|enc]");
                goto out;