Update the dissector_add call to use the current API.

svn path=/trunk/; revision=37782
This commit is contained in:
Jaap Keuter 2011-06-24 19:57:14 +00:00
parent c9809b51dc
commit eaa3542ae7
1 changed files with 1 additions and 1 deletions

View File

@ -1048,5 +1048,5 @@ proto_reg_handoff_linx_tcp(void)
{
dissector_handle_t linx_tcp_handle;
linx_tcp_handle = create_dissector_handle(dissect_linx_tcp, proto_linx_tcp);
dissector_add("tcp.port", TCP_PORT_LINX, linx_tcp_handle);
dissector_add_uint("tcp.port", TCP_PORT_LINX, linx_tcp_handle);
}