Skip to content

Commit

Permalink
delete udp.len
Browse files Browse the repository at this point in the history
  • Loading branch information
xhdix committed Jan 18, 2022
1 parent ae0feec commit 601ff42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def send_single_packet(this_request, timeout):
del(this_request[TCP].chksum)
elif this_request.haslayer(UDP):
this_request[UDP].sport = ephemeral_port_reserve("udp")
del(this_request[UDP].len)
del(this_request[UDP].chksum)
if this_request.haslayer(DNS):
this_request.id = RandShort()
Expand Down

0 comments on commit 601ff42

Please # to comment.