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 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;