aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ecp-oui.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-28 08:45:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-28 08:45:03 +0000
commitc503c241c0dcbe3b30bee99dedd0873aa156d9e8 (patch)
treebeff6804a4fa329439a9ccc1f50b4b37c4e8b42c /epan/dissectors/packet-ecp-oui.c
parent2cddd1f72e24ec19d5a98964c513373ce9cb23e5 (diff)
Removed one variable to much.
svn path=/trunk/; revision=41222
Diffstat (limited to 'epan/dissectors/packet-ecp-oui.c')
-rw-r--r--epan/dissectors/packet-ecp-oui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ecp-oui.c b/epan/dissectors/packet-ecp-oui.c
index 47ee97ead0..11bd895f10 100644
--- a/epan/dissectors/packet-ecp-oui.c
+++ b/epan/dissectors/packet-ecp-oui.c
@@ -190,7 +190,7 @@ dissect_vdp_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint32
guint32 tempOffset = offset;
guint32 oui;
const char *ouiStr;
- guint8 subType;
+ guint8 subType, format;
const char *subTypeStr;
proto_tree *ecp_vdp_tlv_subtree = NULL;
@@ -244,6 +244,7 @@ dissect_vdp_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint32
proto_tree_add_item(ecp_vdp_tlv_subtree, hf_ecp_vdp_instanceid, tvb, tempOffset, 16, ENC_NA);
tempOffset += 16;
+ format = tvb_get_guint8(tvb, tempOffset);
proto_tree_add_item(ecp_vdp_tlv_subtree, hf_ecp_vdp_format, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
tempOffset++;