Thou shalt terminate thy value_string arrays with {0, NULL}.

svn path=/trunk/; revision=29279
This commit is contained in:
Guy Harris 2009-08-03 21:07:08 +00:00
parent 8224d4e436
commit f3944baaf0

View file

@ -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)