From 39f5ccc22270adb3348919ce6b3de1017dfbabe1 Mon Sep 17 00:00:00 2001 From: Thomas Gschwantner Date: Mon, 25 Feb 2019 11:59:19 +0100 Subject: Match incoming IP with pubkey --- common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index 10ddf61..ca76dc4 100644 --- a/common.h +++ b/common.h @@ -9,9 +9,10 @@ #include #include #include - #include +#include "netlink.h" + #define MAX_CONNECTIONS 16 #define MAX_LINESIZE 4096 @@ -50,6 +51,7 @@ struct wg_dynamic_attr { struct wg_dynamic_request { enum wg_dynamic_key cmd; uint32_t version; + wg_key pubkey; struct wg_dynamic_attr *first, *last; }; -- cgit v1.2.3-59-g8ed1b