aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-04 20:48:45 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-04 20:48:45 +0000
commit6c6b2bebfef30bab09408164829ee2f7317d13b8 (patch)
treecbee63e203d95b68fa5cb892ea31f03d44c7f18b /epan/dissectors
parente41e9ff21eb78e97cf5fe731182c61dc17820688 (diff)
Use a gboolean to store a boolean and change the plurality on the preference name
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33096 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-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);