projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21921c
)
Fix OSX compile error
v0.9.1
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 10 Feb 2016 17:40:34 +0000
(18:40 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 10 Feb 2016 17:40:34 +0000
(18:40 +0100)
ethsock.c
patch
|
blob
|
history
diff --git
a/ethsock.c
b/ethsock.c
index d754653ca11e48ab49e0e7da02315516b725d105..36ffeb6de0f948a53f5a8a0bd2df513339e38bfc 100644
(file)
--- a/
ethsock.c
+++ b/
ethsock.c
@@
-67,7
+67,7
@@
static inline bool sockaddr_get_hwaddr(struct sockaddr *sa, uint8_t *hwaddr)
}
#ifndef NMRPFLASH_LINUX
- if (((struct sockaddr_dl*)
addr
)->sdl_type != IFT_ETHER) {
+ if (((struct sockaddr_dl*)
sa
)->sdl_type != IFT_ETHER) {
return false;
}
src = LLADDR((struct sockaddr_dl*)sa);