aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssgp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-03-18 22:21:53 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-03-18 22:21:53 +0000
commit86eda54fe60ebda7a8cef135062d9fee589cf777 (patch)
tree4ed1b2aeb3e726434ab5f3bea3b7d82da8ec72c5 /epan/dissectors/packet-bssgp.c
parent4c87778b7a531358f831ddb945671f5e0caff00c (diff)
As suggested by Evan Huus, use extended value_strings
svn path=/trunk/; revision=48407
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r--epan/dissectors/packet-bssgp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index 2d0511e06c..8ba5461622 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -3436,7 +3436,7 @@ typedef enum
}
bssgp_elem_idx_t;
-const value_string bssgp_elem_strings[] = {
+static const value_string bssgp_elem_strings[] = {
{ DE_BSSGP_ALIGNMENT_OCTETS, "Alignment Octets" }, /* 11.3.1 Alignment octets */
{ DE_BSSGP_BMAX_DEFAULT_MS, "Bmax default MS" }, /* 11.3.2 Bmax default MS */
{ DE_BSSGP_BSS_AREA_IND, "BSS Area Indication" }, /* 11.3.3 BSS Area Indication */
@@ -3584,6 +3584,7 @@ const value_string bssgp_elem_strings[] = {
{ 0, NULL }
};
+value_string_ext bssgp_elem_strings_ext = VALUE_STRING_EXT_INIT(bssgp_elem_strings);
#define NUM_BSSGP_ELEM (sizeof(bssgp_elem_strings)/sizeof(value_string))
gint ett_bssgp_elem[NUM_BSSGP_ELEM];