Add more nd_print_trunc() calls

This commit is contained in:
Francois-Xavier Le Bail 2018-09-13 21:16:44 +02:00
parent 818169971c
commit e67f4fcae8

View File

@ -290,7 +290,8 @@ recurse:
* 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) {
@ -477,7 +478,8 @@ recurse:
* 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) {