Skip to content

Commit

Permalink
Fix #17
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson authored Sep 17, 2024
1 parent f1b186c commit 7d674e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intercepting-communication/run
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ class Host:
sem_init_child.acquire()
ip_run("link set lo up")
ip_run(f"link set veth{self.id}-child name eth0")
self.mac = scapy.get_if_hwaddr("eth0")
subprocess.run(["/usr/sbin/ethtool",
"-K", "eth0",
"rx", "off",
Expand All @@ -216,6 +215,7 @@ class Host:
check=True)
ip_run("link set eth0 up")
scapy.conf.ifaces.reload()
self.mac = scapy.get_if_hwaddr("eth0")
self.manage_ip()
sem_ready_child.release()

Expand Down

0 comments on commit 7d674e8

Please sign in to comment.