/* \summary: OpenBSD IPsec encapsulation BPF layer printer */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "netdissect-stdinc.h"
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;
}
out:
return (ENC_HDRLEN);
}
-
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */