diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-10-14 18:18:16 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-10-14 18:18:16 +0000 |
commit | ecb5860b78285ede9de28f0b40c3ff3bd9ae83ff (patch) | |
tree | da081c0d70bd08c57c73acfd83fa9fceca088008 /epan/dissectors/packet-vlan.c | |
parent | 7541b470206726239051a0453ceeb377d80cb19d (diff) |
Adding to col info is probably useless as next dissector will overwrite it.
svn path=/trunk/; revision=52604
Diffstat (limited to 'epan/dissectors/packet-vlan.c')
-rw-r--r-- | epan/dissectors/packet-vlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c index 340baf969d..cb96a307ec 100644 --- a/epan/dissectors/packet-vlan.c +++ b/epan/dissectors/packet-vlan.c @@ -105,8 +105,11 @@ dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tci = tvb_get_ntohs( tvb, 0 ); +#if 0 + /* Adding to col info is probably useless as next dissector will overwrite it */ col_add_fstr(pinfo->cinfo, COL_INFO, "PRI: %u CFI: %u ID: %u", (tci >> 13), ((tci >> 12) & 1), (tci & 0xFFF)); +#endif col_add_fstr(pinfo->cinfo, COL_8021Q_VLAN_ID, "%u", (tci & 0xFFF)); vlan_tree = NULL; |