* the enclosed type field.
*/
if (caplen < 4) {
- ND_PRINT("[|vlan]");
+ ndo->ndo_protocol = "vlan";
+ nd_print_trunc(ndo);
return (hdrlen + caplen);
}
if (ndo->ndo_eflag) {
* the enclosed type field.
*/
if (caplen < 4) {
- ND_PRINT("[|vlan]");
+ ndo->ndo_protocol = "vlan";
+ nd_print_trunc(ndo);
return (hdrlen + caplen);
}
if (ndo->ndo_eflag) {