diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index e428bd42aef..b2b3c307cb5 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #include @@ -967,7 +968,7 @@ nd6_ifptomac(ifp) case IFT_CARP: #endif case IFT_ISO88025: - return ((caddr_t)(ifp + 1)); + return IF_LLADDR(ifp); default: return NULL; }