aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-07-02 20:08:49 +0000
committerMichael Mann <mmann78@netscape.net>2013-07-02 20:08:49 +0000
commit7ae263b9e458e5eee23ea38d415210ac0c0b8b1f (patch)
treef2d81aaf336e22bfd70476a181dd0eae1fdd2ec0 /epan/expert.c
parente16933f4961aa8905444f80876355f6b3a2cf46f (diff)
Differentiate "Disabled" from "Unknown" and provide macros for the enumerated values.
svn path=/trunk/; revision=50323
Diffstat (limited to 'epan/expert.c')
-rw-r--r--epan/expert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/expert.c b/epan/expert.c
index d540d2ea0b..68ba38be01 100644
--- a/epan/expert.c
+++ b/epan/expert.c
@@ -74,10 +74,10 @@ static emem_tree_t *expert_modules = NULL;
/* Possible values for a checksum evaluation */
const value_string expert_checksum_vals[] = {
- { -1, "Unknown/Disabled" },
- { 0, "Good" },
- { 1, "Bad" },
-
+ { EXPERT_CHECKSUM_DISABLED, "Disabled" },
+ { EXPERT_CHECKSUM_UNKNOWN, "Unknown" },
+ { EXPERT_CHECKSUM_GOOD, "Good" },
+ { EXPERT_CHECKSUM_BAD, "Bad" },
{ 0, NULL }
};