Changes to be committed:

modified:   src/client.rs
This commit is contained in:
Michael Wain 2024-08-25 18:59:45 +03:00
parent 5686ed0f45
commit 9309f0255a

View File

@ -154,7 +154,7 @@ pub async fn client_mode(client_config: ClientConfiguration) {
let pkey = BASE64_STANDARD.decode(client_config.client.public_key).unwrap();
let handshake = UDPVpnHandshake{ public_key: pkey, request_ip: client_config.client.address.parse::<Ipv4Addr>().unwrap() };
let nz = 0;
let mut nz = 0;
while nz < 25 {
sock_snd.send(&handshake.serialize()).await.unwrap();
nz += 1