forked from osmocom/wireshark
RPC: do not add a protocol without dissection function to the dissector table
This seems to be a typo Bug: 11327 Change-Id: I0182003b77f0deba9421002f5626175af30125f5 Reviewed-on: https://code.wireshark.org/review/9467 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
9421af309b
commit
cc12a6ada6
|
@ -495,7 +495,7 @@ rpc_init_proc_table(int proto, guint prog, guint vers, const vsff *proc_table,
|
|||
new_create_dissector_handle_with_name(proc->dissect_call, proto, proc->strptr));
|
||||
}
|
||||
|
||||
if (proc->dissect_reply == NULL)
|
||||
if (proc->dissect_reply != NULL)
|
||||
{
|
||||
dissector_add_custom_table_handle("rpc.reply", g_memdup(&key, sizeof(rpc_proc_info_key)),
|
||||
new_create_dissector_handle_with_name(proc->dissect_reply, proto, proc->strptr));
|
||||
|
|
Loading…
Reference in New Issue