aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wccp.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2021-01-29 10:05:32 +0000
committerMartin Mathieson <martin.mathieson@keysight.com>2021-01-29 10:05:32 +0000
commit5fbc354f8619ff4dc16328ac9134c0fba5c46abf (patch)
treee000dd4c365f9a8a271a694c003c7a466e43a084 /epan/dissectors/packet-wccp.c
parentf4ac70818a145c9c6d9fccb3979f16d9c0c5b67a (diff)
Make more functions and vars static.
Diffstat (limited to 'epan/dissectors/packet-wccp.c')
-rw-r--r--epan/dissectors/packet-wccp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-wccp.c b/epan/dissectors/packet-wccp.c
index 1d3a2e616b..863036dbad 100644
--- a/epan/dissectors/packet-wccp.c
+++ b/epan/dissectors/packet-wccp.c
@@ -317,10 +317,10 @@ static const value_string wccp_version_val[] = {
{ 0, NULL}
};
-const true_false_string tfs_src_dest_port = { "Source port", "Destination port" };
-const true_false_string tfs_redirect_protocol0 = { "Redirect only protocol 0 (IP)", "Redirect all traffic" };
-const true_false_string tfs_historical_current = { "Historical", "Current" };
-const true_false_string tfs_version_min_max = {"WCCP version set is maximum supported by CE", "WCCP version set is minimum supported by CE"};
+static const true_false_string tfs_src_dest_port = { "Source port", "Destination port" };
+static const true_false_string tfs_redirect_protocol0 = { "Redirect only protocol 0 (IP)", "Redirect all traffic" };
+static const true_false_string tfs_historical_current = { "Historical", "Current" };
+static const true_false_string tfs_version_min_max = {"WCCP version set is maximum supported by CE", "WCCP version set is minimum supported by CE"};
static const value_string wccp_address_family_val[] = {
{ 0, "Reserved" },
@@ -786,7 +786,7 @@ wccp_bucket_info(guint8 bucket_info, proto_tree *bucket_tree, guint32 start,
#define SECURITY_INFO_LEN 4
-const value_string security_option_vals[] = {
+static const value_string security_option_vals[] = {
{ WCCP2_NO_SECURITY, "None" },
{ WCCP2_MD5_SECURITY, "MD5" },
{ 0, NULL }
@@ -823,7 +823,7 @@ dissect_wccp2_security_info(tvbuff_t *tvb, int offset, gint length,
#define WCCP2_SERVICE_STANDARD 0
#define WCCP2_SERVICE_DYNAMIC 1
-const value_string service_type_vals[] = {
+static const value_string service_type_vals[] = {
{ WCCP2_SERVICE_STANDARD, "Standard predefined service"},
{ WCCP2_SERVICE_DYNAMIC, "Dynamic CE defined service" },
{ 0, NULL }