aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asn1/h225/packet-h225-template.c2
-rw-r--r--epan/dissectors/packet-h225.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h225/packet-h225-template.c b/asn1/h225/packet-h225-template.c
index 40673cc3c6..0d997d35f2 100644
--- a/asn1/h225/packet-h225-template.c
+++ b/asn1/h225/packet-h225-template.c
@@ -75,7 +75,7 @@ static int dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, p
static h225_packet_info pi_arr[5]; /* We assuming a maximum of 5 H225 messaages per packet */
static int pi_current=0;
-h225_packet_info *h225_pi=NULL;
+h225_packet_info *h225_pi=&pi_arr[0];
static dissector_handle_t h225ras_handle;
static dissector_handle_t H323UserInformation_handle;
diff --git a/epan/dissectors/packet-h225.c b/epan/dissectors/packet-h225.c
index bfec478237..556cec691f 100644
--- a/epan/dissectors/packet-h225.c
+++ b/epan/dissectors/packet-h225.c
@@ -83,7 +83,7 @@ static int dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, p
static h225_packet_info pi_arr[5]; /* We assuming a maximum of 5 H225 messaages per packet */
static int pi_current=0;
-h225_packet_info *h225_pi=NULL;
+h225_packet_info *h225_pi=&pi_arr[0];
static dissector_handle_t h225ras_handle;
static dissector_handle_t H323UserInformation_handle;