text import: make TCP dest port truly direction dependant
During introduction of proper direction support this line was left over, causing TCP dest port to remain independant of direction. This change simply drops the line. See CID 1444115 Change-Id: I4ff362925e422bc57cfa3842127ddaf8695cf303 Reviewed-on: https://code.wireshark.org/review/32902 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
cf5b86721a
commit
c642c1a0a4
|
@ -493,7 +493,6 @@ write_current_packet (void)
|
|||
|
||||
HDR_TCP.source_port = isOutbound ? g_htons(hdr_dest_port): g_htons(hdr_src_port);
|
||||
HDR_TCP.dest_port = isOutbound ? g_htons(hdr_src_port) : g_htons(hdr_dest_port);
|
||||
HDR_TCP.dest_port = g_htons(hdr_dest_port);
|
||||
/* set ack number if we have direction */
|
||||
if (has_direction) {
|
||||
HDR_TCP.flags = 0x10;
|
||||
|
|
Loading…
Reference in New Issue