remove duplicate check against chaddr.
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 21 Jul 2005 20:23:56 +0000 (20:23 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 21 Jul 2005 20:23:56 +0000 (20:23 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@10889 69ca8d6d-28ef-0310-b511-8ec308f3f277

networking/udhcp/dhcpc.c

index 7d50a72..eeaf553 100644 (file)
@@ -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;