2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Do not try to sense the hardware address of the interface "fallback"

which we produce artificially.
This commit is contained in:
David Hankins
2007-05-19 23:16:13 +00:00
parent 3af71c19e4
commit 049833eee0

View File

@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
"$Id: socket.c,v 1.65 2007/05/19 18:47:14 dhankins Exp $ "
"$Id: socket.c,v 1.66 2007/05/19 23:16:13 dhankins Exp $ "
"Copyright (c) 2004-2007 Internet Systems Consortium.\n";
#endif /* not lint */
@@ -250,7 +250,8 @@ if_register_socket(struct interface_info *info, int family, int do_multicast) {
}
#endif /* DHCPv6 */
get_hw_addr(info->name, &info->hw_address);
if (strcmp(info->name, "fallback") != 0)
get_hw_addr(info->name, &info->hw_address);
return sock;
}