Commit 1be175a0 authored by Sigmund Augdal's avatar Sigmund Augdal

Actually send the packets from arpy

parent e8ec01ec
......@@ -30,7 +30,7 @@ def mymac(interface):
def do_send(mymac, address, interface):
pkg = Ether(src=mymac, dst=BROADCAST_MAC) / ARP(pdst=address, op=1, psrc=address, hwdst=BROADCAST_MAC, hwsrc=mymac)"Sending packet %s to interface %s", repr(pkg), interface)
# sendp(pkg, iface=interface)
sendp(pkg, iface=interface)
def has_address(address):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment