]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
IPX: Add a length check
[tcpdump] / print-enc.c
index fb9b708797feda2e13a13b64a9f5b1681da37ec4..630f6b31603252a454e69e131c25f3d7516c3de6 100644 (file)
@@ -105,7 +105,7 @@ enc_if_print(netdissect_options *ndo,
 
        ndo->ndo_protocol = "enc_if";
        if (caplen < ENC_HDRLEN) {
-               ND_PRINT("[|enc]");
+               nd_print_trunc(ndo);
                goto out;
        }
 
@@ -162,11 +162,3 @@ enc_if_print(netdissect_options *ndo,
 out:
        return (ENC_HDRLEN);
 }
-
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */