delete the port range before re-creating it

Change-Id: I80f7e438cbb44c40ee28f1eb78a7779f43563732
Reviewed-on: https://code.wireshark.org/review/3448
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
Martin Kaiser 2014-08-05 11:04:08 +02:00
parent cbb68ba64d
commit ad20fd63fe
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ proto_reg_handoff_tftp(void)
heur_dissector_add("stun", dissect_embeddedtftp_heur, proto_tftp);
tftp_initialized = TRUE;
} else {
dissector_add_uint_range("udp.port", tftp_port_range, tftp_handle);
dissector_delete_uint_range("udp.port", tftp_port_range, tftp_handle);
g_free(tftp_port_range);
}