aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-22 21:53:50 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-22 21:53:50 +0000
commit310fd21f9dff2782aff8bc6ce9fc8a666d127f8e (patch)
treee5bf8ef649e6a335573aad9edc4ae6676472ee18
parent75fc32411d42a2f70888ea5076de5c8eb08d1580 (diff)
Add NULL termination element to value_string arrays
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25799 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--plugins/wimax/wimax_hack_decoder.c5
-rw-r--r--tap-mgcpstat.c1
-rw-r--r--tap-radiusstat.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/plugins/wimax/wimax_hack_decoder.c b/plugins/wimax/wimax_hack_decoder.c
index 684e628fda..cf11b47ac5 100644
--- a/plugins/wimax/wimax_hack_decoder.c
+++ b/plugins/wimax/wimax_hack_decoder.c
@@ -54,13 +54,14 @@ static const value_string vals_flags[] =
{
{0, "Even Half-Slot (tiles 0,2,4)"},
{1, "Odd Half-Slot (tiles 1,3,5)"},
- {0, NULL}
+ {0, NULL}
};
static const value_string vals_values[] =
{
{0, "ACK"},
- {1, "NACK"}
+ {1, "NACK"},
+ {0, NULL}
};
static gint hf_hack_burst = -1;
diff --git a/tap-mgcpstat.c b/tap-mgcpstat.c
index 816388bd87..1c6b850bbc 100644
--- a/tap-mgcpstat.c
+++ b/tap-mgcpstat.c
@@ -64,6 +64,7 @@ static const value_string mgcp_mesage_type[] = {
{ 7, "AUEP "},
{ 8, "AUCX "},
{ 9, "RSIP "},
+ { 0, NULL}
};
static int
diff --git a/tap-radiusstat.c b/tap-radiusstat.c
index 2899f9fb5b..2d6a3fc9d6 100644
--- a/tap-radiusstat.c
+++ b/tap-radiusstat.c
@@ -62,6 +62,7 @@ static const value_string radius_message_code[] = {
{ 5, "Diconnect "},
{ 6, "Change Filter "},
{ 7, "Other "},
+ { 0, NULL}
};
static int