wireguard: peers dump fix
Type: fix Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Change-Id: I4450b8c8b50a3be8d6a399f6a58bc0e8eb500b28
This commit is contained in:
Artem Glazychev
committed by
Damjan Marion
parent
9685624a50
commit
adf1497ee0
@ -259,7 +259,7 @@ vl_api_wireguard_peers_dump_t_handler (vl_api_wireguard_peers_dump_t * mp)
|
||||
if (mp->peer_index == ~0)
|
||||
wg_peer_walk (wg_api_send_peers_details, &ctx);
|
||||
else
|
||||
wg_api_send_peers_details (mp->peer_index, &ctx);
|
||||
wg_api_send_peers_details (ntohl (mp->peer_index), &ctx);
|
||||
}
|
||||
|
||||
static vpe_client_registration_t *
|
||||
|
Reference in New Issue
Block a user