summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2001-04-10 22:47:38 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2001-04-10 22:47:38 +0000
commit1f73be1b21e02ded8bc561a29a0409cf55969c54 (patch)
tree2a95017907532edd5a6ed919b784bff3e526ba89 /usr.sbin
parentbb605b30c3ebd5ed205752886780c5883f53868f (diff)
Allow unnatural behavior.
Otherwise, some dhcp clients are not able to get a lease at all... ok beck@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dhcp/server/dhcp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/dhcp/server/dhcp.c b/usr.sbin/dhcp/server/dhcp.c
index 05e0a515be3..a50be1bce01 100644
--- a/usr.sbin/dhcp/server/dhcp.c
+++ b/usr.sbin/dhcp/server/dhcp.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.3 2001/01/03 16:04:40 ericj Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.4 2001/04/10 22:47:37 chris Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -563,12 +563,6 @@ void ack_lease (packet, lease, offer, when)
struct class *vendor_class, *user_class;
int i;
- /* If we're already acking this lease, don't do it again. */
- if (lease -> state) {
- note ("already acking lease %s", piaddr (lease -> ip_addr));
- return;
- }
-
if (packet -> options [DHO_DHCP_CLASS_IDENTIFIER].len) {
vendor_class =
find_class (0,