aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vlan.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-10-14 21:50:37 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-10-14 21:50:37 +0000
commit21e17b82d2d79e5029b9ed8b2c8316a060ead279 (patch)
tree3019e421e134d927cdbec1eb76df5acca1670301 /epan/dissectors/packet-vlan.c
parent0efe942aab7e985c825422e3f7a0d2e5aee9a5b9 (diff)
Reverting as requested by Jakub, eventhoug I don't think this prticular entry is useful as it's duplicated in the tree and almost certanly never vissible.
svn path=/trunk/; revision=52608
Diffstat (limited to 'epan/dissectors/packet-vlan.c')
-rw-r--r--epan/dissectors/packet-vlan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c
index cb96a307ec..340baf969d 100644
--- a/epan/dissectors/packet-vlan.c
+++ b/epan/dissectors/packet-vlan.c
@@ -105,11 +105,8 @@ 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;