Unexpand LLADDR().
This commit is contained in:
parent
f94dfeb481
commit
2f1b461447
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152920
@ -136,8 +136,8 @@ nfs_setup_diskless(void)
|
||||
(sdl = ((struct sockaddr_dl *)ifa->ifa_addr))) {
|
||||
if ((sdl->sdl_type == ourdl.sdl_type) &&
|
||||
(sdl->sdl_alen == ourdl.sdl_alen) &&
|
||||
!bcmp(sdl->sdl_data + sdl->sdl_nlen,
|
||||
ourdl.sdl_data + ourdl.sdl_nlen,
|
||||
!bcmp(LLADDR(sdl),
|
||||
LLADDR(&ourdl),
|
||||
sdl->sdl_alen)) {
|
||||
IFNET_RUNLOCK();
|
||||
goto match_done;
|
||||
|
Loading…
Reference in New Issue
Block a user