diff options
author | Thomas Markwalder <tmark@isc.org> | 2018-09-14 13:41:41 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2018-09-14 13:41:41 -0400 |
commit | 8194daabfd590f17825f0c61e9534bee5c99cc86 (patch) | |
tree | 3678f349c7304d00363372134a50332dd8e93c3e /server | |
parent | b1ed27b95152c128d735eb36c42cc5c35e001ae2 (diff) | |
download | isc-dhcp-8194daabfd590f17825f0c61e9534bee5c99cc86.tar.gz |
[master] Added includes of new BIND9 compatibility headers, updated util/bind.sh
Merges in rt48072.
Diffstat (limited to 'server')
-rw-r--r-- | server/dhcpv6.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/server/dhcpv6.c b/server/dhcpv6.c index a7110f98..cde4f617 100644 --- a/server/dhcpv6.c +++ b/server/dhcpv6.c @@ -1034,7 +1034,8 @@ void check_pool6_threshold(struct reply_state *reply, shared_name, inet_ntop(AF_INET6, &lease->addr, tmp_addr, sizeof(tmp_addr)), - used, count); + (long long unsigned)(used), + (long long unsigned)(count)); } return; } @@ -1066,7 +1067,8 @@ void check_pool6_threshold(struct reply_state *reply, "address: %s; high threshold %d%% %llu/%llu.", shared_name, inet_ntop(AF_INET6, &lease->addr, tmp_addr, sizeof(tmp_addr)), - poolhigh, used, count); + poolhigh, (long long unsigned)(used), + (long long unsigned)(count)); /* handle the low threshold now, if we don't * have one we default to 0. */ @@ -1436,12 +1438,15 @@ pick_v6_address(struct reply_state *reply) log_debug("Unable to pick client address: " "no addresses available - shared network %s: " " 2^64-1 < total, %llu active, %llu abandoned", - shared_name, active - abandoned, abandoned); + shared_name, (long long unsigned)(active - abandoned), + (long long unsigned)(abandoned)); } else { log_debug("Unable to pick client address: " "no addresses available - shared network %s: " "%llu total, %llu active, %llu abandoned", - shared_name, total, active - abandoned, abandoned); + shared_name, (long long unsigned)(total), + (long long unsigned)(active - abandoned), + (long long unsigned)(abandoned)); } return ISC_R_NORESOURCES; |