summaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2012-08-18 18:14:42 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2012-08-18 18:14:42 +0000
commit3da4234ae91599a538335d99a70e54983df19d04 (patch)
tree0378a0542e82caa24ebd6efe8a5cbff294f3f0d8 /sbin/dhclient
parent2d6170fe443f939945152c4cd272112d4f396646 (diff)
Don't store a time_t into an int. Make the variable time_t.
Part of larger time_t rectification diff from guenther@.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index f717994550b..82c464fb95f 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.148 2012/08/18 15:27:56 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.149 2012/08/18 18:14:41 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -720,7 +720,7 @@ dhcpoffer(struct iaddr client_addr, struct option_data *options)
{
struct client_lease *lease, *lp;
int i;
- int stop_selecting;
+ time_t stop_selecting;
char *name = options[DHO_DHCP_MESSAGE_TYPE].len ? "DHCPOFFER" :
"BOOTREPLY";