diff options
-rw-r--r-- | ui/text_import.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/text_import.c b/ui/text_import.c index 4d32fb0532..d3eca3b668 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -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; |