From 623330decced8f8eeb1868a57ae687d40c39dad1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 17 Apr 2009 19:15:42 +0000 Subject: NetBSD-5.0RC4 has a kernel error causing an AF_LINK to be reported twice. A patch has been submitted, hopefully included in NetBSD-5.0 --- net.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/net.c b/net.c index 716911eb..e5b5f770 100644 --- a/net.c +++ b/net.c @@ -275,14 +275,6 @@ discover_interfaces(int argc, char * const *argv) #ifdef AF_LINK if (ifa->ifa_addr->sa_family != AF_LINK) continue; -#ifdef __NetBSD__ - /* FIXME: Why do I get 2 AF_LINK addresses per interface? */ - for (ifp = ifs; ifp; ifp = ifp->next) - if (strcmp(ifp->name, ifa->ifa_name) == 0) - break; - if (ifp) - continue; -#endif #elif AF_PACKET if (ifa->ifa_addr->sa_family != AF_PACKET) continue; -- cgit v1.2.3