summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/dhcpv6.c b/server/dhcpv6.c
index 6cdee72c..f4bdbf81 100644
--- a/server/dhcpv6.c
+++ b/server/dhcpv6.c
@@ -3336,7 +3336,7 @@ void shorten_lifetimes(struct reply_state *reply, struct iasubopt *lease,
" preferred: %u, valid %u",
pin6_addr(&lease->addr),
iasubopt_plen_str(lease),
- age, threshold,
+ (long)age, threshold,
pref_life, valid_life);
break;
}