diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-07-22 21:53:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-07-22 21:53:50 +0000 |
commit | e2e72c7664a1eb78753b1502e989af7ff15045c0 (patch) | |
tree | e5bf8ef649e6a335573aad9edc4ae6676472ee18 | |
parent | 7631d2b49414f3c39f4858ee9147675b689bcf44 (diff) |
Add NULL termination element to value_string arrays
svn path=/trunk/; revision=25799
-rw-r--r-- | plugins/wimax/wimax_hack_decoder.c | 5 | ||||
-rw-r--r-- | tap-mgcpstat.c | 1 | ||||
-rw-r--r-- | tap-radiusstat.c | 1 |
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 |