diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-03-08 15:34:45 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-03-08 15:34:45 +0000 |
commit | 91a6e23da19009435dd81839abac3d3bfc4f4054 (patch) | |
tree | 1ce7f9c2a8a8e1457154a85b80ca135b969a8501 | |
parent | d2fdde252b74852656808cb1774dc44e24cb48c0 (diff) |
Move a line of code to group together code that will be mediated
by #ifdef's.
-rw-r--r-- | sbin/dhclient/dhclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 9e078713f94..4b05f3270b5 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.403 2017/03/08 14:55:21 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.404 2017/03/08 15:34:44 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1100,11 +1100,11 @@ newlease: if (!client->active->is_static && !seen) TAILQ_INSERT_HEAD(&client->leases, client->active, next); - client->state = S_BOUND; - /* Write out new leases file. */ rewrite_client_leases(ifi); + client->state = S_BOUND; + /* Set timeout to start the renewal process. */ set_timeout(client->active->renewal, state_bound, ifi); } |