diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-09-29 21:00:45 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-09-29 21:00:45 +0200 |
commit | f73da8f4118142ad06e1fbd0d711fadc9c8c1975 (patch) | |
tree | d7c867ea023de3c29b4d965e0b550d54c0b32aff /lease.c | |
parent | Rename struct ip_pool to be more descriptive (diff) | |
download | wg-dynamic-f73da8f4118142ad06e1fbd0d711fadc9c8c1975.tar.xz wg-dynamic-f73da8f4118142ad06e1fbd0d711fadc9c8c1975.zip |
radix-trie: allow full use of the v4 address space
Diffstat (limited to 'lease.c')
-rw-r--r-- | lease.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ struct wg_dynamic_lease *new_lease(wg_key pubkey, uint32_t leasetime, if (wants_ipv4) { if (!ipv4) { index = random_bounded(ipns.total_ipv4); - debug("new_lease(v4): %u of %u\n", index, + debug("new_lease(v4): %u of %ju\n", index, ipns.total_ipv4); ipp_addnth_v4(&ipns, &lease->ipv4, index); |