-/* $OpenBSD: dhclient.c,v 1.557 2018/02/06 21:01:27 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.558 2018/02/06 21:09:10 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
if (ifi->state != S_REBOOTING &&
ifi->state != S_REQUESTING &&
- ifi->state != S_RENEWING &&
- ifi->state != S_REBINDING) {
+ ifi->state != S_RENEWING) {
DPRINTF("%s: unexpected DHCPACK from %s - state #%d",
log_procname, src, ifi->state);
return;
{
if (ifi->state != S_REBOOTING &&
ifi->state != S_REQUESTING &&
- ifi->state != S_RENEWING &&
- ifi->state != S_REBINDING) {
+ ifi->state != S_RENEWING) {
DPRINTF("%s: unexpected DHCPNAK from %s - state #%d",
log_procname, src, ifi->state);
return;
* set ciaddr to zero.
*/
if (ifi->state == S_BOUND ||
- ifi->state == S_RENEWING ||
- ifi->state == S_REBINDING)
+ ifi->state == S_RENEWING)
packet->ciaddr.s_addr = lease->address.s_addr;
else
packet->ciaddr.s_addr = INADDR_ANY;
-/* $OpenBSD: dhcpd.h,v 1.250 2018/02/06 00:25:09 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.251 2018/02/06 21:09:10 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
S_SELECTING,
S_REQUESTING,
S_BOUND,
- S_RENEWING,
- S_REBINDING
+ S_RENEWING
};
TAILQ_HEAD(client_lease_tq, client_lease);