#define CONFIG_H
#define PACKAGE "dhcpcd"
-#define VERSION "4.99.16"
+#define VERSION "4.99.17"
/* Some systems do not have a working fork. */
/* #define THERE_IS_NO_FORK */
if (ifa->ifa_addr->sa_family != AF_PACKET)
continue;
#endif
+ /* It's possible for an interface to have >1 AF_LINK.
+ * For our purposes, we use the first one. */
+ for (ifp = ifs; ifp; ifp = ifp->next)
+ if (strcmp(ifp->name, ifa->ifa_name) == 0)
+ break;
+ if (ifp)
+ continue;
if (argc > 0) {
for (i = 0; i < argc; i++) {
#ifdef __linux__