aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sua.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-23 19:45:37 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-23 19:45:37 +0000
commit75ba3ade4a971b46a984f4ff7df56e933ca44dea (patch)
tree4663d2dda846853dcd5c750c529c84d058fd71b2 /packet-sua.c
parent5b95486902239843ad84e7db0fb43c2fbb1ca009 (diff)
Register "sua.sua_version" as an obsolete preference, so that no
complaints are issued if a preferences file from an earlier version of Ethereal is read. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6991 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sua.c')
-rw-r--r--packet-sua.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-sua.c b/packet-sua.c
index 6ff69a3311..77791b6d93 100644
--- a/packet-sua.c
+++ b/packet-sua.c
@@ -5,7 +5,7 @@
*
* Copyright 2002, 2003 Michael Tuexen <Michael.Tuexen [AT] siemens.com>
*
- * $Id: packet-sua.c,v 1.13 2003/01/22 17:45:31 tuexen Exp $
+ * $Id: packet-sua.c,v 1.14 2003/01/23 19:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1588,7 +1588,7 @@ proto_register_sua(void)
&ett_sua_first_remaining,
&ett_sua_return_on_error_bit_and_protocol_class
};
-
+ module_t *sua_module;
/* Register the protocol name and description */
proto_sua = proto_register_protocol("SS7 SCCP-User Adaptation Layer", "SUA", "sua");
@@ -1596,6 +1596,9 @@ proto_register_sua(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_sua, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+
+ sua_module = prefs_register_protocol(proto_sua, NULL);
+ prefs_register_obsolete_preference(sua_module, "sua_version");
}
void