summaryrefslogtreecommitdiff
path: root/print-llc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-04-13 18:45:19 -0700
committerGuy Harris <guy@alum.mit.edu>2013-04-13 18:45:19 -0700
commit30ee65f07a55fd4d0dfdf3e344c6c8a443990320 (patch)
tree3ff870bb5fa3484f7271cfa935a05dd686221965 /print-llc.c
parent655b53ac19537a6b8f77f83127c35a6256083365 (diff)
downloadtcpdump-30ee65f07a55fd4d0dfdf3e344c6c8a443990320.tar.gz
There's another Cisco-private encapsulation of BPDUs.
At least according to the Wireshark STP dissector, SNAP frames with the Cisco OUI and a PID of 0x010c contain BPDUs, for "VLAN Bridge".
Diffstat (limited to 'print-llc.c')
-rw-r--r--print-llc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/print-llc.c b/print-llc.c
index a1934715..5ba81894 100644
--- a/print-llc.c
+++ b/print-llc.c
@@ -107,6 +107,7 @@ static const struct tok cisco_values[] = {
{ PID_CISCO_DTP, "DTP" },
{ PID_CISCO_UDLD, "UDLD" },
{ PID_CISCO_PVST, "PVST" },
+ { PID_CISCO_VLANBRIDGE, "VLAN Bridge" },
{ 0, NULL }
};
@@ -453,6 +454,7 @@ snap_print(const u_char *p, u_int length, u_int caplen, u_int bridge_pad)
vtp_print(p, length);
return (1);
case PID_CISCO_PVST:
+ case PID_CISCO_VLANBRIDGE:
stp_print(p, length);
return (1);
default: