From: Paul Fox Date: Thu, 21 Jul 2005 20:23:56 +0000 (-0000) Subject: remove duplicate check against chaddr. X-Git-Tag: 1_1_0~882 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b86134032ff26dd1f7b293eb6f601e0b0fec8b4;p=oweals%2Fbusybox.git remove duplicate check against chaddr. --- diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 7d50a72ed..eeaf5531d 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -440,9 +440,6 @@ int main(int argc, char *argv[]) continue; } /* Ignore packets that aren't for us */ - 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;