aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-08-04 23:14:40 +0000
committerGuy Harris <guy@alum.mit.edu>2009-08-04 23:14:40 +0000
commit6847b0b94d619f2e4092c195573a214a8abdac54 (patch)
treed559a2aeed43de0710fd3c3352e1ed7568330313 /plugins/wimax
parentc9e3f66d144fc36a29ad9a49336002044525a776 (diff)
Put the initializers for the elements of value_string arrays into curly
brackets, so the API checks for non-terminated value_string arrays will not falsely think the arrays are non-terminated. svn path=/trunk/; revision=29299
Diffstat (limited to 'plugins/wimax')
-rw-r--r--plugins/wimax/msg_dsa.c8
-rw-r--r--plugins/wimax/msg_dsc.c8
-rw-r--r--plugins/wimax/msg_dsd.c6
3 files changed, 11 insertions, 11 deletions
diff --git a/plugins/wimax/msg_dsa.c b/plugins/wimax/msg_dsa.c
index 9f3f1cfd7a..9e3b20de32 100644
--- a/plugins/wimax/msg_dsa.c
+++ b/plugins/wimax/msg_dsa.c
@@ -50,10 +50,10 @@ static gint ett_mac_mgmt_msg_dsa_rsp_decoder = -1;
static gint ett_mac_mgmt_msg_dsa_ack_decoder = -1;
static const value_string vals_dsa_msgs[] = {
- MAC_MGMT_MSG_DSA_REQ, "Dynamic Service Addition Request (DSA-REQ)",
- MAC_MGMT_MSG_DSA_RSP, "Dynamic Service Addition Response (DSA-RSP)",
- MAC_MGMT_MSG_DSA_ACK, "Dynamic Service Addition Acknowledge (DSA-ACK)",
- 0, NULL
+ { MAC_MGMT_MSG_DSA_REQ, "Dynamic Service Addition Request (DSA-REQ)" },
+ { MAC_MGMT_MSG_DSA_RSP, "Dynamic Service Addition Response (DSA-RSP)" },
+ { MAC_MGMT_MSG_DSA_ACK, "Dynamic Service Addition Acknowledge (DSA-ACK)" },
+ { 0, NULL }
};
/* fix fields */
diff --git a/plugins/wimax/msg_dsc.c b/plugins/wimax/msg_dsc.c
index 049b33789f..f80839c7c4 100644
--- a/plugins/wimax/msg_dsc.c
+++ b/plugins/wimax/msg_dsc.c
@@ -50,10 +50,10 @@ static gint ett_mac_mgmt_msg_dsc_rsp_decoder = -1;
static gint ett_mac_mgmt_msg_dsc_ack_decoder = -1;
static const value_string vals_dsc_msgs[] = {
- MAC_MGMT_MSG_DSC_REQ, "Dynamic Service Change Request (DSC-REQ)",
- MAC_MGMT_MSG_DSC_RSP, "Dynamic Service Change Response (DSC-RSP)",
- MAC_MGMT_MSG_DSC_ACK, "Dynamic Service Change Acknowledge (DSC-ACK)",
- 0, NULL
+ { MAC_MGMT_MSG_DSC_REQ, "Dynamic Service Change Request (DSC-REQ) }",
+ { MAC_MGMT_MSG_DSC_RSP, "Dynamic Service Change Response (DSC-RSP)" },
+ { MAC_MGMT_MSG_DSC_ACK, "Dynamic Service Change Acknowledge (DSC-ACK)" },
+ { 0, NULL }
};
/* fix fields */
diff --git a/plugins/wimax/msg_dsd.c b/plugins/wimax/msg_dsd.c
index 599a40465b..f625572cb9 100644
--- a/plugins/wimax/msg_dsd.c
+++ b/plugins/wimax/msg_dsd.c
@@ -54,9 +54,9 @@ static gint ett_mac_mgmt_msg_dsd_rsp_decoder = -1;
static const value_string vals_dsd_msgs[] =
{
- MAC_MGMT_MSG_DSD_REQ, "Dynamic Service Deletion Request (DSD-REQ)",
- MAC_MGMT_MSG_DSD_RSP, "Dynamic Service Deletion Response (DSD-RSP)",
- 0, NULL
+ { MAC_MGMT_MSG_DSD_REQ, "Dynamic Service Deletion Request (DSD-REQ)" },
+ { MAC_MGMT_MSG_DSD_RSP, "Dynamic Service Deletion Response (DSD-RSP)" },
+ { 0, NULL }
};
/* fix fields */