summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-09-23 15:50:24 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2019-11-15 00:11:29 +0100
commitd87c26f5ebf37b641ee8431d1234c141ca9c96e7 (patch)
treee18670a251e885344f675a3160f677e7894fc538
parente6c48b7faf2b00261ae5386aafcb690c6b8413ed (diff)
Wireguard: Fix wg_channel_reconfigure signature
-rw-r--r--proto/wireguard/wireguard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/wireguard/wireguard.c b/proto/wireguard/wireguard.c
index 992399c8..4f006d1e 100644
--- a/proto/wireguard/wireguard.c
+++ b/proto/wireguard/wireguard.c
@@ -1031,7 +1031,8 @@ wg_channel_init(struct channel *CH, struct channel_config *CHC)
}
static int
-wg_channel_reconfigure(struct channel *CH, struct channel_config *CHC)
+wg_channel_reconfigure(struct channel *CH, struct channel_config *CHC,
+ int *import_changed, int *export_changed)
{
/* Try to reconfigure instance, returns success */
log(L_TRACE "WG: wg_channel_reconfigure");