diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-04-16 19:31:22 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-04-17 02:32:04 +0000 |
commit | 8c3b36deb8d3c6aa2c7ba03a4dc72cbb5602d821 (patch) | |
tree | 2b8ca5a34f9da3003b3702c1d7567161e6706438 /epan/dissectors/packet-daap.c | |
parent | 173ccf7a4664de8001ce92966ae0c68e7805e9b4 (diff) |
Don't assume the HTTP dissector is being called from the TCP dissector.
It's not - it could be called from the SSL dissector or the SCTP
dissector. Create separate dissectors for all of them; they can, if
passed appropriate metadata in the "data" argument, process it
appropriately for the type of metadata the calling tissector supplies.
Bug: 12344
Change-Id: I8d9a2f3173e6de42b31993bbb6c81d161f68bf8c
Reviewed-on: https://code.wireshark.org/review/14944
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-daap.c')
-rw-r--r-- | epan/dissectors/packet-daap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-daap.c b/epan/dissectors/packet-daap.c index cd670faae9..4d1b600bab 100644 --- a/epan/dissectors/packet-daap.c +++ b/epan/dissectors/packet-daap.c @@ -775,7 +775,7 @@ proto_reg_handoff_daap(void) dissector_handle_t daap_handle; daap_handle = create_dissector_handle(dissect_daap, proto_daap); - http_port_add(TCP_PORT_DAAP); + http_tcp_port_add(TCP_PORT_DAAP); dissector_add_string("media_type", "application/x-dmap-tagged", daap_handle); png_handle = find_dissector_add_dependency("png", proto_daap); |