aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-07-21 20:23:56 +0000
committerPaul Fox <pgf@brightstareng.com>2005-07-21 20:23:56 +0000
commit7b86134032ff26dd1f7b293eb6f601e0b0fec8b4 (patch)
tree58ae32de8981db696b663ae9e207cd4968c1c03b
parent8de331def08568678fa09536b5589ea473bee6e6 (diff)
downloadbusybox-w32-7b86134032ff26dd1f7b293eb6f601e0b0fec8b4.tar.gz
busybox-w32-7b86134032ff26dd1f7b293eb6f601e0b0fec8b4.tar.bz2
busybox-w32-7b86134032ff26dd1f7b293eb6f601e0b0fec8b4.zip
remove duplicate check against chaddr.
-rw-r--r--networking/udhcp/dhcpc.c3
1 files changed, 0 insertions, 3 deletions
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[])
440 continue; 440 continue;
441 } 441 }
442 /* Ignore packets that aren't for us */ 442 /* Ignore packets that aren't for us */
443 if (memcmp(client_config.arp,packet.chaddr,6))
444 continue;
445
446 if (memcmp(packet.chaddr, client_config.arp, 6)) { 443 if (memcmp(packet.chaddr, client_config.arp, 6)) {
447 DEBUG(LOG_INFO, "packet does not have our chaddr -- ignoring"); 444 DEBUG(LOG_INFO, "packet does not have our chaddr -- ignoring");
448 continue; 445 continue;