Skip to content

Commit

Permalink
Fix OSX compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner committed Feb 10, 2016
1 parent c21921c commit 2f9307b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2f9307b

Please sign in to comment.