]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
Fix spaces
[tcpdump] / print-enc.c
index 93422adffa16235a1c1305d40515c7a780759bfa..630f6b31603252a454e69e131c25f3d7516c3de6 100644 (file)
@@ -24,7 +24,7 @@
 /* \summary: OpenBSD IPsec encapsulation BPF layer printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -103,8 +103,9 @@ 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]");
+               nd_print_trunc(ndo);
                goto out;
        }
 
@@ -161,11 +162,3 @@ enc_if_print(netdissect_options *ndo,
 out:
        return (ENC_HDRLEN);
 }
-
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */