Add {0, NULL} to all the value_string arrays.
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Dec 2003 05:59:35 +0000 (05:59 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Dec 2003 05:59:35 +0000 (05:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9167 f5534014-38df-0310-8fa8-9805f1628bb7

packet-wlancap.c

index 213737f66161c6d79a336e9c332a8c81ca8f773a..51ceb98ab8d212b2db86a07442af4c9b3a9a1f98 100644 (file)
@@ -10,7 +10,7 @@
  * 
  * By Solomon Peachy
  *
- * $Id: packet-wlancap.c,v 1.2 2003/08/05 19:09:27 guy Exp $
+ * $Id: packet-wlancap.c,v 1.3 2003/12/04 05:59:35 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -117,6 +117,7 @@ proto_register_wlancap(void)
     { 6, "OFDM 802.11g" },
     { 7, "PBCC 802.11g" },
     { 8, "OFDM 802.11a" },
+    { 0, NULL },
   };
 
   static const value_string encoding_type[] = {
@@ -124,6 +125,7 @@ proto_register_wlancap(void)
     { 1, "CCK" },
     { 2, "PBCC" },
     { 3, "OFDM" },
+    { 0, NULL },
   };
 
   static const value_string ssi_type[] = {
@@ -131,12 +133,14 @@ proto_register_wlancap(void)
     { 1, "Normalized RSSI" },
     { 2, "dBm" },
     { 3, "Raw RSSI" },
+    { 0, NULL },
   };
 
   static const value_string preamble_type[] = {
     { 0, "Unknown" },
     { 1, "Short" },
     { 2, "Long" },
+    { 0, NULL },
   };
 
   static hf_register_info hf[] = {