ndo->ndo_protocol = "ether";
if (caplen < ETHER_HDRLEN) {
- ND_PRINT("[|ether]");
+ nd_print_trunc(ndo);
return (caplen);
}
if (length < ETHER_HDRLEN) {
- ND_PRINT("[|ether]");
+ nd_print_trunc(ndo);
return (length);
}
*/
ndo->ndo_protocol = "netanalyzer_if";
if (h->len < 4 || h->caplen < 4) {
- ND_PRINT("[|netanalyzer]");
+ nd_print_trunc(ndo);
return (h->caplen);
}
*/
ndo->ndo_protocol = "netanalyzer_transparent_if";
if (h->len < 12 || h->caplen < 12) {
- ND_PRINT("[|netanalyzer-transparent]");
+ nd_print_trunc(ndo);
return (h->caplen);
}