diff options
author | David Bright <dab@FreeBSD.org> | 2018-02-27 21:59:23 +0000 |
---|---|---|
committer | David Bright <dab@FreeBSD.org> | 2018-02-27 21:59:23 +0000 |
commit | 3acf1760b704cf876bea0c6b0f7e0a9431328d34 (patch) | |
tree | b5f318ba006b715bf2f6c79dc6e339657e5f815d /sbin/dhclient/dhclient.c | |
parent | d5b2439e5dfd2d4264b1f7ac05650186268caf45 (diff) | |
download | src-test2-3acf1760b704cf876bea0c6b0f7e0a9431328d34.tar.gz src-test2-3acf1760b704cf876bea0c6b0f7e0a9431328d34.zip |
Notes
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r-- | sbin/dhclient/dhclient.c | 3 |
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 |