remove duplicate check against chaddr.
authorPaul Fox <pgf@brightstareng.com>
Thu, 21 Jul 2005 20:23:56 +0000 (20:23 -0000)
committerPaul Fox <pgf@brightstareng.com>
Thu, 21 Jul 2005 20:23:56 +0000 (20:23 -0000)
networking/udhcp/dhcpc.c

index 7d50a72ed50788a607037ef23ec68e1f595e7d6d..eeaf5531de0337c69b812fd3a89bfd0fdeaede27 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;