summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-06-04 20:48:45 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-06-04 20:48:45 +0000
commit967caad77c6660bc119e6660c1758aefa4264abd (patch)
treecbee63e203d95b68fa5cb892ea31f03d44c7f18b
parent6534b8ce4f511bba80409e35a777e563244d6c42 (diff)
downloadwireshark-967caad77c6660bc119e6660c1758aefa4264abd.tar.gz
Use a gboolean to store a boolean and change the plurality on the preference name
svn path=/trunk/; revision=33096
-rw-r--r--epan/dissectors/packet-sua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sua.c b/epan/dissectors/packet-sua.c
index 7091c93c63..3c182e5227 100644
--- a/epan/dissectors/packet-sua.c
+++ b/epan/dissectors/packet-sua.c
@@ -368,7 +368,7 @@ typedef enum {
} Version_Type;
static gint version = SUA_RFC;
-static gint set_addresses = FALSE;
+static gboolean set_addresses = FALSE;
static void
dissect_parameters(tvbuff_t *tlv_tvb, proto_tree *tree, tvbuff_t **data_tvb, guint8 *source_ssn, guint8 *dest_ssn);
@@ -2185,7 +2185,7 @@ proto_register_sua(void)
sua_module = prefs_register_protocol(proto_sua, NULL);
prefs_register_obsolete_preference(sua_module, "sua_version");
prefs_register_enum_preference(sua_module, "version", "SUA Version", "Version used by Wireshark", &version, options, FALSE);
- prefs_register_bool_preference(sua_module, "set_address", "Set source and destination addresses",
+ prefs_register_bool_preference(sua_module, "set_addresses", "Set source and destination addresses",
"Set the source and destination addresses to the PC or GT digits, depending on the routing indicator."
" This may affect TCAP's ability to recognize which messages belong to which TCAP session.", &set_addresses);