trunc:
ndo->ndo_snapend = se;
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
}
handle_ppp(ndo, proto, p, length);
return (hdr_len);
trunc:
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (0);
}
ndo->ndo_protocol = "ppp_if";
if (caplen < PPP_HDRLEN) {
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (caplen);
}
ndo->ndo_protocol = "ppp_hdlc_if";
if (caplen < 2) {
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (caplen);
}
case PPP_ADDRESS:
if (caplen < 4 || length < 4) {
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (caplen);
}
default:
if (caplen < 4) {
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (caplen);
}
ndo->ndo_protocol = "ppp_bsdos_if";
if (caplen < PPP_BSDI_HDRLEN) {
- ND_PRINT("[|ppp]");
+ nd_print_trunc(ndo);
return (caplen);
}