aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtem Glazychev <artem.glazychev@xored.com>2020-09-23 20:47:48 +0700
committerDamjan Marion <dmarion@me.com>2020-09-24 11:19:10 +0000
commit49774343545d0e0c40f6d80a7194f09b4681827f (patch)
tree043d1c452b9148581faa06591099b33f80755b77 /src
parentdcf512adcdbb857f4350d875f69d8e190e949342 (diff)
wireguard: coverity fix
Type: fix Change-Id: Ib69b9d83a77d315368ce091085b6bc2d26994282 Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Diffstat (limited to 'src')
-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))
{