Rename the routines that handle dissector tables with unsigned integer
[obnox/wireshark/wip.git] / plugins / tpg / packet-http.c
index c54df654bc7cc87c9933baf938665eac70c3de2b..7da2b0cbe5e6bcbcdba14f3a9f182a4cf2aba206 100644 (file)
@@ -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);
 
 }