Update the dissector_add call to use the current API.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Jun 2011 19:57:14 +0000 (19:57 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Jun 2011 19:57:14 +0000 (19:57 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37782 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-linx.c

index 6e503065db577e448a0c3976b4fca60f9eab9e71..09a1e3cea52d067be42b634efcf15f11efc8948b 100644 (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);
 }