diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-09 16:02:34 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-09 16:02:34 +0000 |
commit | f38e41b5c1ffa70872a3419eeae8eee234ce5c03 (patch) | |
tree | b64888849672d179f7232731a60a208ea7ae5075 | |
parent | d78f97da2ebdab532cb15ac610c5bacfddcd4e9e (diff) |
Initialize dst_ref.
svn path=/trunk/; revision=33189
-rw-r--r-- | asn1/idmp/packet-idmp-template.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-idmp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c index 92e2b42717..522204f46a 100644 --- a/asn1/idmp/packet-idmp-template.c +++ b/asn1/idmp/packet-idmp-template.c @@ -155,7 +155,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t guint32 idmp_length; fragment_data *fd_head; conversation_t *conv; - guint32 dst_ref; + guint32 dst_ref = 0; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); diff --git a/epan/dissectors/packet-idmp.c b/epan/dissectors/packet-idmp.c index 121be5cb89..6b4c80ab1c 100644 --- a/epan/dissectors/packet-idmp.c +++ b/epan/dissectors/packet-idmp.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-idmp.c */ -/* ../../tools/asn2wrs.py -b -e -L -k -p idmp -c ./idmp.cnf -s ./packet-idmp-template -D . IDMProtocolSpecification.asn CommonProtocolSpecification.asn */ +/* ../../tools/asn2wrs.py -b -e -L -p idmp -c ./idmp.cnf -s ./packet-idmp-template -D . IDMProtocolSpecification.asn CommonProtocolSpecification.asn */ /* Input file: packet-idmp-template.c */ @@ -637,7 +637,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t guint32 idmp_length; fragment_data *fd_head; conversation_t *conv; - guint32 dst_ref; + guint32 dst_ref = 0; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); |