diff options
author | Artem Glazychev <artem.glazychev@xored.com> | 2023-01-24 15:34:00 +0700 |
---|---|---|
committer | Fan Zhang <fanzhang.oss@gmail.com> | 2023-02-01 11:33:46 +0000 |
commit | 4d290c3aa74c7bd346b311940e5feb399464057e (patch) | |
tree | 94673a68e05e5409e94d901a0a05552997a37928 /src/plugins/wireguard/wireguard_cli.c | |
parent | 8430c402fc5118b4bcb221030779cf4e6c11d462 (diff) |
wireguard: update ESTABLISHED flag
We cannot confidently say that if we have received and processed
the handshake_initiation message, then the connection has been established.
Because we also send a response.
The fact that the connection is established can only be considered if a keepalive packet was received.
Type: fix
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Change-Id: I61731916071990f28cdebcd1d0e4d302fa1dee15
Diffstat (limited to 'src/plugins/wireguard/wireguard_cli.c')
0 files changed, 0 insertions, 0 deletions