Try v6 checksum instead of icmp6

This commit is contained in:
Nico Schottelius 2019-03-05 21:04:07 +01:00
parent 6f28013bb3
commit e4dd6eee93
1 changed files with 2 additions and 4 deletions

View File

@ -246,12 +246,10 @@ class L2Controller(object):
# S=1 -> solicitated
i2 = ICMPv6ND_NA(S=1, R=0, tgt=src_addr)
# Force scapy to recalculate ??
i2.chksum = None
i3 = ICMPv6NDOptDstLLAddr(lladdr=src_mac)
# Force scapy to recalculate ??
i.chksum = None
answer = e / i / i2 / i3
self.send_pkg(answer)