summaryrefslogtreecommitdiff
path: root/plugins/tpg/packet-http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tpg/packet-http.c')
-rw-r--r--plugins/tpg/packet-http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tpg/packet-http.c b/plugins/tpg/packet-http.c
index c54df654bc..7da2b0cbe5 100644
--- a/plugins/tpg/packet-http.c
+++ b/plugins/tpg/packet-http.c
@@ -97,8 +97,8 @@ static void proto_register_http(void) {
static void proto_reg_handoff_http(void) {
http_handle = create_dissector_handle(dissect_http, proto_http);
- dissector_delete("tcp.port", 80, NULL);
- dissector_add("tcp.port", 80, http_handle);
+ dissector_delete_uint("tcp.port", 80, NULL);
+ dissector_add_uint("tcp.port", 80, http_handle);
}