diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 21:07:08 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 21:07:08 +0000 |
commit | f09d378d3d5392bf86f5430681619d04953bee6b (patch) | |
tree | 78931f80c556ed8514f095ae868d6b1b9e6728f2 /epan/dissectors | |
parent | 9cc7657f43d681706f0371f9377f05a7e679778d (diff) |
Thou shalt terminate thy value_string arrays with {0, NULL}.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29279 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dns.c b/epan/dissectors/packet-dns.c index 1eff0767e0..fb715eeb9d 100644 --- a/epan/dissectors/packet-dns.c +++ b/epan/dissectors/packet-dns.c @@ -2604,7 +2604,8 @@ dissect_dns_answer(tvbuff_t *tvb, int offsetx, int dns_data_offset, static const value_string hip_algo_vals[] = { { THIP_ALGO_DSA, "DSA" }, { THIP_ALGO_RSA, "RSA" }, - { THIP_ALGO_RESERVED, "Reserved" } + { THIP_ALGO_RESERVED, "Reserved" }, + { 0, NULL } }; if (cinfo != NULL) |