diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-08-08 01:20:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-08-08 01:20:26 +0000 |
commit | 42b915674b5fabf183bae1ca491febbd5a854642 (patch) | |
tree | e9dc63c363450d9667e57ec517a8720d525e901a /plugins | |
parent | ce9da96fe5c03484c07688d3f68b3fa575df393a (diff) |
Map the old one-port "generic ASN.1" TCP/UDP/SCTP port-number
preferences to the new multi-port ones, so that, instead of complaining
when the old preferences were seen, we make the port be the one port in
the new preference.
Make the "message_win" "generic ASN.1" preference an obsolete
preference, so we silently ignore it rather than complaining about it.
svn path=/trunk/; revision=11623
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/asn1/packet-asn1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c index 6b94f7966a..182891f87d 100644 --- a/plugins/asn1/packet-asn1.c +++ b/plugins/asn1/packet-asn1.c @@ -5025,12 +5025,14 @@ proto_register_asn1(void) { "ASN.1 debug mode", "Extra output useful for debuging", &asn1_debug); -/* +#if 0 prefs_register_bool_preference(asn1_module, "message_win", "Show ASN.1 tree", "show full message description", &asn1_message_win); -*/ +#else + prefs_register_obsolete_preference(asn1_module, "message_win"); +#endif prefs_register_bool_preference(asn1_module, "verbose_log", "Write very verbose log", "log to file $TMP/" ASN1LOGFILE, |