Try deleting all chksums
This commit is contained in:
parent
12097d0085
commit
7d53abef6d
1 changed files with 8 additions and 1 deletions
|
@ -250,8 +250,15 @@ class L2Controller(object):
|
||||||
|
|
||||||
answer = e / i / i2 / i3
|
answer = e / i / i2 / i3
|
||||||
|
|
||||||
|
# try 4
|
||||||
|
for l in [Ether, IPv6, ICMPv6ND_NA, ICMPv6NDOptDstLLAddr]:
|
||||||
|
try:
|
||||||
|
del answer[l].chksum
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
|
|
||||||
# Let scapy recalc checksum (try3)
|
# Let scapy recalc checksum (try3)
|
||||||
answer = answer.__class__(str(answer))
|
# answer = answer.__class__(str(answer))
|
||||||
|
|
||||||
self.send_pkg(answer)
|
self.send_pkg(answer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue