From Scott Roberts:
Patch to have the tds dissector register itself by name. And fix the name of the register function itself. svn path=/trunk/; revision=26474
This commit is contained in:
parent
2e68f4386c
commit
25cd2bc4d2
|
@ -1981,7 +1981,7 @@ tds_init(void)
|
|||
*/
|
||||
|
||||
void
|
||||
proto_register_netlib(void)
|
||||
proto_register_tds(void)
|
||||
{
|
||||
static hf_register_info hf[] = {
|
||||
{ &hf_tds_type,
|
||||
|
@ -2139,6 +2139,9 @@ proto_register_netlib(void)
|
|||
proto_register_field_array(proto_tds, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
|
||||
/* Allow dissector to be found by name. */
|
||||
register_dissector("tds", dissect_tds_tcp, proto_tds);
|
||||
|
||||
tds_module = prefs_register_protocol(proto_tds, NULL);
|
||||
prefs_register_bool_preference(tds_module, "desegment_buffers",
|
||||
"Reassemble TDS buffers spanning multiple TCP segments",
|
||||
|
|
Loading…
Reference in New Issue