SCCP: Use register_dissector_preference
Switch SCCP's default payload preference from a string to validated
dissector name preference, added in 2f1392169a
This commit is contained in:
parent
e5168435b5
commit
62e8882701
|
@ -4231,8 +4231,8 @@ proto_register_sccp(void)
|
|||
" This may affect TCAP's ability to recognize which messages belong to which TCAP session.",
|
||||
&set_addresses);
|
||||
|
||||
prefs_register_string_preference(sccp_module, "default_payload", "Default Payload",
|
||||
"The protocol which should be used to dissect the payload if nothing else has claimed it",
|
||||
prefs_register_dissector_preference(sccp_module, "default_payload", "Default Payload",
|
||||
"The dissector which should be used to dissect the payload if nothing else has claimed it",
|
||||
&default_payload);
|
||||
|
||||
prefs_register_bool_preference(sccp_module, "dt1_ignore_length", "Dissect data past 255 byte limit",
|
||||
|
|
Loading…
Reference in New Issue