From 7b86134032ff26dd1f7b293eb6f601e0b0fec8b4 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Thu, 21 Jul 2005 20:23:56 +0000 Subject: remove duplicate check against chaddr. --- networking/udhcp/dhcpc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'networking/udhcp/dhcpc.c') 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; -- cgit v1.2.3