Call the handoff registration routine proto_reg_handoff_irsir() to avoid

collisions with the WSP dissector's proto_reg_handoff_sir() - and don't
call it in the proto_register_irsir(); handoff registration routines are
supposed to be called after *all* registration routines are called.

svn path=/trunk/; revision=20303
This commit is contained in:
Guy Harris 2007-01-04 12:05:17 +00:00
parent fb85064c5e
commit 6e022db16c
1 changed files with 1 additions and 3 deletions

View File

@ -173,7 +173,7 @@ dissect_sir( tvbuff_t* tvb, packet_info* pinfo, proto_tree* root)
/** Registers this dissector with the parent dissector. */
void
proto_reg_handoff_sir( void)
proto_reg_handoff_irsir( void)
{
dissector_add( "tcp.port", TCP_PORT_SIR, find_dissector( "sir"));
@ -227,6 +227,4 @@ proto_register_irsir( void)
proto_register_subtree_array( ett, array_length( ett));
proto_register_field_array(
proto_sir, hf_sir, array_length( hf_sir));
proto_reg_handoff_sir();
}