Skip to content

Commit 9a2a5d1

Browse files
committed
correct the ip.id in TLS trace
1 parent 49719c1 commit 9a2a5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def send_packet_with_tcphandshake(this_request, timeout):
116116
send(send_ack, verbose=0)
117117
send_data = this_request
118118
del(send_data[IP].src)
119-
send_data[IP].id = ans[0][0][IP].id + 1
119+
send_data[IP].id = ans[0][0][IP].id + 2
120120
send_data[TCP].sport = source_port
121121
send_data[TCP].seq = ans[0][1][TCP].ack
122122
send_data[TCP].ack = ans[0][1][TCP].seq + 1

0 commit comments

Comments
 (0)