aboutgitcodebugslistschat
path: root/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arp.c')
-rw-r--r--arp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arp.c b/arp.c
index e9ccd5e..d1052ec 100644
--- a/arp.c
+++ b/arp.c
@@ -77,8 +77,6 @@ int arp(struct ctx *c, struct ethhdr *eh, size_t len)
len = sizeof(*eh) + sizeof(*ah) + sizeof(*am);
memcpy(eh->h_dest, eh->h_source, ETH_ALEN);
- /* HACK */
- memcpy(c->mac_guest, eh->h_source, ETH_ALEN);
memcpy(eh->h_source, c->mac, ETH_ALEN);
if (tap_send(c->fd_unix, eh, len, 0) < 0)