wireguard: coverity fix

Type: fix

Change-Id: Ib69b9d83a77d315368ce091085b6bc2d26994282
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
This commit is contained in:
Artem Glazychev
2020-09-23 20:47:48 +07:00
committed by Damjan Marion
parent dcf512adcd
commit 4977434354
+1 -1
View File
@@ -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))
{