projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ee790
)
fix compile error
author
John Crispin
<john@phrozen.org>
Mon, 30 Jul 2018 21:52:06 +0000
(23:52 +0200)
committer
John Crispin
<john@phrozen.org>
Mon, 30 Jul 2018 21:52:06 +0000
(23:52 +0200)
netifd-2018-07-30-
75ee7905
/interface-ip.c:724:11: error: unused variable 'macaddr' [-Werror=unused-variable]
Signed-off-by: John Crispin <john@phrozen.org>
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index c855cdb5066c190dddbcf9f3f466b750c953b10f..b577e66db5b720a00db09dca55903c9fec2f38d8 100644
(file)
--- 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);