summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/parse.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2017-07-08 00:36:10 +0000
committerkrw <krw@openbsd.org>2017-07-08 00:36:10 +0000
commit024801d2c99cff11d22a187fff2822db50e8431c (patch)
tree4a20f3cca64e1ddebd4cfe3ac7d0970462e2f695 /sbin/dhclient/parse.c
parentRun malloc0test with all possible malloc options. (diff)
downloadwireguard-openbsd-024801d2c99cff11d22a187fff2822db50e8431c.tar.xz
wireguard-openbsd-024801d2c99cff11d22a187fff2822db50e8431c.zip
Always use uintNN_t instead of sometimes u_intNN_t
and sometimes uintNN_t.
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r--sbin/dhclient/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index d4e5da45501..a88469a0942 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.54 2017/06/29 21:37:43 krw Exp $ */
+/* $OpenBSD: parse.c,v 1.55 2017/07/08 00:36:10 krw Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -232,7 +232,7 @@ parse_ip_addr(FILE *cfile, struct in_addr *addr)
void
parse_lease_time(FILE *cfile, time_t *timep)
{
- u_int32_t value;
+ uint32_t value;
if (!parse_decimal(cfile, (char *)&value, 'L')) {
parse_warn("expecting unsigned 32-bit decimal value.");