diff options
| author | Roy Marples <roy@marples.name> | 2009-04-17 19:15:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-04-17 19:15:42 +0000 |
| commit | 623330decced8f8eeb1868a57ae687d40c39dad1 (patch) | |
| tree | 3a71b097041fea9ef043cb34caf708758c8bf7f0 /net.c | |
| parent | 47681a7058d5f9a4235aa42fd509d2c6cd196fb6 (diff) | |
| download | dhcpcd-623330decced8f8eeb1868a57ae687d40c39dad1.tar.xz | |
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
Diffstat (limited to 'net.c')
| -rw-r--r-- | net.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |
