mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-27 12:03:44 +08:00
Add more nd_print_trunc() calls
This commit is contained in:
parent
818169971c
commit
e67f4fcae8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user