aboutsummaryrefslogtreecommitdiffstats
path: root/lease.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2019-09-30 09:17:16 +0200
committerLinus Nordberg <linus@nordberg.se>2019-10-01 16:39:41 +0200
commit8a3be328fad5d7b256da6b77ecea6002297f353d (patch)
tree9c10e103ff33a0468c8a1469b683e3172f64bbc8 /lease.h
parent[server] Make leasetime an optional command line argument (diff)
downloadwg-dynamic-8a3be328fad5d7b256da6b77ecea6002297f353d.tar.xz
wg-dynamic-8a3be328fad5d7b256da6b77ecea6002297f353d.zip
WIP
[server] Restore leases from allowedips at startup
Diffstat (limited to 'lease.h')
-rw-r--r--lease.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lease.h b/lease.h
index 8e83135..b67e598 100644
--- a/lease.h
+++ b/lease.h
@@ -44,6 +44,7 @@ struct wg_dynamic_lease *new_lease(wg_key pubkey, uint32_t leasetime,
const struct in6_addr *ipv6,
struct wg_dynamic_lease *current);
+
/*
* Returns all leases belonging to pubkey, or NULL if there are none.
*/