applying fix for:
0000260: udhcpc doesn't validate client hardware address
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index d99711c..7d50a72 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -443,6 +443,11 @@
if (memcmp(client_config.arp,packet.chaddr,6))
continue;
+ if (memcmp(packet.chaddr, client_config.arp, 6)) {
+ DEBUG(LOG_INFO, "packet does not have our chaddr -- ignoring");
+ continue;
+ }
+
if ((message = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) {
DEBUG(LOG_ERR, "couldnt get option from packet -- ignoring");
continue;