diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2001-04-10 22:47:38 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2001-04-10 22:47:38 +0000 |
commit | 1f73be1b21e02ded8bc561a29a0409cf55969c54 (patch) | |
tree | 2a95017907532edd5a6ed919b784bff3e526ba89 | |
parent | bb605b30c3ebd5ed205752886780c5883f53868f (diff) |
Allow unnatural behavior.
Otherwise, some dhcp clients are not able to get a lease at all...
ok beck@
-rw-r--r-- | usr.sbin/dhcp/server/dhcp.c | 8 |
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, |