Rename option to --preshared-key and add to README

This commit is contained in:
Aram 🍐 2023-10-02 17:21:32 -04:00
parent 6f143280d1
commit 1333ea8a7c
3 changed files with 14 additions and 9 deletions

View file

@ -221,7 +221,7 @@ impl WireGuardTunnel {
Tunn::new(
config.private_key.clone(),
config.endpoint_public_key.clone(),
config.endpoint_preshared_key,
config.preshared_key,
config.keepalive_seconds,
0,
None,