summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorPaul Fox2005-07-21 20:23:56 +0000
committerPaul Fox2005-07-21 20:23:56 +0000
commit7b86134032ff26dd1f7b293eb6f601e0b0fec8b4 (patch)
tree58ae32de8981db696b663ae9e207cd4968c1c03b /networking/udhcp
parent8de331def08568678fa09536b5589ea473bee6e6 (diff)
downloadbusybox-7b86134032ff26dd1f7b293eb6f601e0b0fec8b4.zip
busybox-7b86134032ff26dd1f7b293eb6f601e0b0fec8b4.tar.gz
remove duplicate check against chaddr.
Diffstat (limited to 'networking/udhcp')
-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 7d50a72..eeaf553 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;