aboutsummaryrefslogtreecommitdiffstats
path: root/lease.h
diff options
context:
space:
mode:
Diffstat (limited to 'lease.h')
-rw-r--r--lease.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lease.h b/lease.h
index 383bac7..cfb1a16 100644
--- a/lease.h
+++ b/lease.h
@@ -28,7 +28,7 @@ struct wg_dynamic_lease {
* Initializes internal state, retrieves routes from nlsock and reads leases
* from fname.
*/
-void leases_init(char *fname, struct mnl_socket *nlsock);
+void leases_init(char *fname, struct mnl_socket *nlsock, uint32_t ifindex);
/*
* Frees everything, closes file.
@@ -67,7 +67,7 @@ void update_allowed_ips(const char *devname, wg_key peer_pubkey,
/*
* Updates all pools with information from the mnl socket nlsock.
*/
-void leases_update_pools(struct mnl_socket *nlsock);
+void leases_update_pools(struct mnl_socket *nlsock, uint32_t ifindex);
/*
* Return true if lease is !NULL and has not expired.