summaryrefslogtreecommitdiff
path: root/asn1/pcap/packet-pcap-template.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-05-14 19:00:53 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-05-14 19:00:53 +0000
commitbe8dbe75c5e14dd7bf2c6238f2a47969f842d17d (patch)
tree7049ed734c8e1cae91f654f905349817ea35ec4c /asn1/pcap/packet-pcap-template.c
parent9c4b84589c67b9fff746b4b0a1e209cceeecf3f5 (diff)
downloadwireshark-be8dbe75c5e14dd7bf2c6238f2a47969f842d17d.tar.gz
Upate to spec. 11.0.0
- fix problem with extension dissection. svn path=/trunk/; revision=49294
Diffstat (limited to 'asn1/pcap/packet-pcap-template.c')
-rw-r--r--asn1/pcap/packet-pcap-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/pcap/packet-pcap-template.c b/asn1/pcap/packet-pcap-template.c
index 579cc93b88..be39e3a2b8 100644
--- a/asn1/pcap/packet-pcap-template.c
+++ b/asn1/pcap/packet-pcap-template.c
@@ -72,7 +72,7 @@ static int ett_pcap = -1;
/* Global variables */
static guint32 ProcedureCode;
static guint32 ProtocolIE_ID;
-static guint32 ProtocolExtensionID;
+/*static guint32 ProtocolExtensionID;*/
/* Dissector tables */
static dissector_table_t pcap_ies_dissector_table;
@@ -100,7 +100,7 @@ static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- return (dissector_try_uint(pcap_extension_dissector_table, ProtocolExtensionID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
+ return (dissector_try_uint(pcap_extension_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
}
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)