Mark "inap.tcap.itu_ssn" and "inap.tcap.itu_ssn1" as obsolete
authorGuy Harris <guy@alum.mit.edu>
Sat, 10 Jun 2006 00:26:48 +0000 (00:26 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 10 Jun 2006 00:26:48 +0000 (00:26 -0000)
preferences, so we don't warn about them, we just silently discard them.

svn path=/trunk/; revision=18418

asn1/inap/packet-inap-template.c
epan/dissectors/packet-inap.c

index 9a90a5de4236450ca4cbc76dae4a8aa21adfe18d..6cb197bf4c0e6fd2607c3de58eda1ad6fe0c73ef 100644 (file)
@@ -701,6 +701,10 @@ void proto_register_inap(void) {
   
   inap_module = prefs_register_protocol(proto_inap, proto_reg_handoff_inap);
 
+  prefs_register_obsolete_preference(inap_module, "tcap.itu_ssn");
+  prefs_register_obsolete_preference(inap_module, "tcap.itu_ssn1");
+
   prefs_register_range_preference(inap_module, "ssn", "TCAP SSNs",
                                  "TCAP Subsystem numbers used for INAP",
                                  &global_ssn_range, MAX_SSN);
index a4882c048e00ac26dbd8f9eaa720c1026f1fb0b7..cdd90daadf7a1818efe4652a18b7b6ec96325867 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* .\packet-inap.c                                                            */
+/* ./packet-inap.c                                                            */
 /* ../../tools/asn2wrs.py -b -e -p inap -c inap.cnf -s packet-inap-template inap.asn */
 
 /* Input file: packet-inap-template.c */
@@ -6831,6 +6831,10 @@ void proto_register_inap(void) {
   
   inap_module = prefs_register_protocol(proto_inap, proto_reg_handoff_inap);
 
+  prefs_register_obsolete_preference(inap_module, "tcap.itu_ssn");
+  prefs_register_obsolete_preference(inap_module, "tcap.itu_ssn1");
+
   prefs_register_range_preference(inap_module, "ssn", "TCAP SSNs",
                                  "TCAP Subsystem numbers used for INAP",
                                  &global_ssn_range, MAX_SSN);