summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/wireguard/wireguard_handoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/wireguard/wireguard_handoff.c b/src/plugins/wireguard/wireguard_handoff.c
index b0b74229452..8a2efa508b3 100644
--- a/src/plugins/wireguard/wireguard_handoff.c
+++ b/src/plugins/wireguard/wireguard_handoff.c
@@ -79,7 +79,7 @@ wg_handoff (vlib_main_t * vm,
while (n_left_from > 0)
{
const wg_peer_t *peer;
- index_t peeri;
+ index_t peeri = INDEX_INVALID;
if (PREDICT_FALSE (mode == WG_HANDOFF_HANDSHAKE))
{