#include "extract.h"
#include "af.h"
-static const char tstr[] = " [|null]";
/*
* The DLT_NULL packet header is 4 bytes long. It contains a host-byte-order
u_int caplen = h->caplen;
uint32_t family;
+ ndo->ndo_protocol = "null_if";
if (caplen < NULL_HDRLEN)
goto trunc;
return (NULL_HDRLEN);
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
return (NULL_HDRLEN);
}
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */