summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface-ip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/interface-ip.c b/interface-ip.c
index c855cdb..b577e66 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -721,7 +721,6 @@ eui64_ifaceid(struct interface *iface, struct in6_addr *addr)
return false;
/* get mac address */
- uint8_t *macaddr = iface->l3_dev.dev->settings.macaddr;
uint8_t *ifaceid = addr->s6_addr + 8;
memcpy(ifaceid, st.macaddr, 3);
memcpy(ifaceid + 5, st.macaddr + 3, 3);