summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorDavid Bright <dab@FreeBSD.org>2018-02-27 21:59:23 +0000
committerDavid Bright <dab@FreeBSD.org>2018-02-27 21:59:23 +0000
commit3acf1760b704cf876bea0c6b0f7e0a9431328d34 (patch)
treeb5f318ba006b715bf2f6c79dc6e339657e5f815d /sbin/dhclient/dhclient.c
parentd5b2439e5dfd2d4264b1f7ac05650186268caf45 (diff)
downloadsrc-test2-3acf1760b704cf876bea0c6b0f7e0a9431328d34.tar.gz
src-test2-3acf1760b704cf876bea0c6b0f7e0a9431328d34.zip
Notes
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 108f85a48bc5..de2d38649803 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1513,7 +1513,8 @@ cancel:
memcpy(&to.s_addr, ip->client->destination.iabuf,
sizeof(to.s_addr));
- if (ip->client->state != S_REQUESTING)
+ if (ip->client->state != S_REQUESTING &&
+ ip->client->state != S_REBOOTING)
memcpy(&from, ip->client->active->address.iabuf,
sizeof(from));
else