/* \summary: Symantec Enterprise Firewall printer */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "netdissect-stdinc.h"
nd_byte stuff2[36];
};
-static inline void
+static void
symantec_hdr_print(netdissect_options *ndo, const u_char *bp, u_int length)
{
const struct symantec_header *sp;
const struct symantec_header *sp;
u_short ether_type;
+ ndo->ndo_protocol = "symantec_if";
if (caplen < sizeof (struct symantec_header)) {
- ND_PRINT("[|symantec]");
+ nd_print_trunc(ndo);
return caplen;
}