We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a779d50 commit ad0481cCopy full SHA for ad0481c
apps/wireshark/ccn/packet-ccn.c
@@ -229,11 +229,11 @@ proto_reg_handoff_ccn(void)
229
initialized = TRUE;
230
}
231
if (current_ccn_port != -1) {
232
- dissector_delete("udp.port", current_ccn_port, ccn_handle);
233
- dissector_delete("tcp.port", current_ccn_port, ccn_handle);
+ dissector_delete_uint("udp.port", current_ccn_port, ccn_handle);
+ dissector_delete_uint("tcp.port", current_ccn_port, ccn_handle);
234
235
- dissector_add("udp.port", global_ccn_port, ccn_handle);
236
- dissector_add("tcp.port", global_ccn_port, ccn_handle);
+ dissector_add_uint("udp.port", global_ccn_port, ccn_handle);
+ dissector_add_uint("tcp.port", global_ccn_port, ccn_handle);
237
current_ccn_port = global_ccn_port;
238
239
0 commit comments