summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcpd/sync.c')
-rw-r--r--usr.sbin/dhcpd/sync.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/sync.c b/usr.sbin/dhcpd/sync.c
index e436d848e7c..f8dde4e0ddb 100644
--- a/usr.sbin/dhcpd/sync.c
+++ b/usr.sbin/dhcpd/sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sync.c,v 1.13 2013/04/22 15:02:42 krw Exp $ */
+/* $OpenBSD: sync.c,v 1.14 2013/10/18 13:44:35 krw Exp $ */
/*
* Copyright (c) 2008 Bob Beck <beck@openbsd.org>
@@ -315,11 +315,12 @@ sync_recv(void)
memcpy(&lp->hardware_addr, &lv->lv_hardware_addr,
sizeof(lp->hardware_addr));
note("DHCP_SYNC_LEASE from %s for hw %s -> ip %s, "
- "start %d, end %d",
+ "start %lld, end %lld",
inet_ntoa(addr.sin_addr),
print_hw_addr(lp->hardware_addr.htype,
lp->hardware_addr.hlen, lp->hardware_addr.haddr),
- piaddr(lp->ip_addr), lp->starts, lp->ends);
+ piaddr(lp->ip_addr),
+ (long long)lp->starts, (long long)lp->ends);
/* now whack the lease in there */
if (lease == NULL) {
enter_lease(lp);