artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a17025
)
Fix pasto so lease_rebind() returns rebind value and not
author
krw
<krw@openbsd.org>
Mon, 27 Nov 2017 13:09:20 +0000
(13:09 +0000)
committer
krw
<krw@openbsd.org>
Mon, 27 Nov 2017 13:09:20 +0000
(13:09 +0000)
renewal value.
sbin/dhclient/dhclient.c
patch
|
blob
|
history
diff --git
a/sbin/dhclient/dhclient.c
b/sbin/dhclient/dhclient.c
index
8d55588
..
eb69e50
100644
(file)
--- a/
sbin/dhclient/dhclient.c
+++ b/
sbin/dhclient/dhclient.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dhclient.c,v 1.52
8 2017/11/26 16:17:13
krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.52
9 2017/11/27 13:09:20
krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@
-2684,5
+2684,5
@@
lease_rebind(struct client_lease *lease)
if (rebind < renewal)
rebind = renewal;
- return lease->epoch + re
newal
;
+ return lease->epoch + re
bind
;
}