wireguard: coverity fix
Type: fix Change-Id: Ib69b9d83a77d315368ce091085b6bc2d26994282 Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
This commit is contained in:
committed by
Damjan Marion
parent
dcf512adcd
commit
4977434354
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user