diff options
author | ru <ru@FreeBSD.org> | 2005-11-29 09:51:47 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-29 09:51:47 +0000 |
commit | 573fa22624a039c6951af0f89956b8c6e7db7c6b (patch) | |
tree | dbf775f145c813320c6ba778c65a9dde9bd6db5e /sys/nfsclient/nfs_diskless.c | |
parent | 1f0c68ec7f53b7d25d3843ad0dcda4f384160de8 (diff) | |
download | FreeBSD-src-573fa22624a039c6951af0f89956b8c6e7db7c6b.zip FreeBSD-src-573fa22624a039c6951af0f89956b8c6e7db7c6b.tar.gz |
Unexpand LLADDR().
Diffstat (limited to 'sys/nfsclient/nfs_diskless.c')
-rw-r--r-- | sys/nfsclient/nfs_diskless.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_diskless.c b/sys/nfsclient/nfs_diskless.c index e17ba0d..1e39c3b 100644 --- a/sys/nfsclient/nfs_diskless.c +++ b/sys/nfsclient/nfs_diskless.c @@ -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; |