diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-04-23 10:03:33 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-05-17 11:08:50 +0200 |
| commit | d7d923654d43fc7d1f5c1adfe73af268e0cda4d8 (patch) | |
| tree | 62af923fc26008515f42349e8cfa467cf73696f9 | |
| parent | 09fa4dcce3cbf128a893344c0a22eb6cfb6b941e (diff) | |
| download | mullvadvpn-d7d923654d43fc7d1f5c1adfe73af268e0cda4d8.tar.xz mullvadvpn-d7d923654d43fc7d1f5c1adfe73af268e0cda4d8.zip | |
Fix incorrect comment in peer config
| -rw-r--r-- | talpid-types/src/net/wireguard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-types/src/net/wireguard.rs b/talpid-types/src/net/wireguard.rs index 60a0a29a6d..0fd8dfb843 100644 --- a/talpid-types/src/net/wireguard.rs +++ b/talpid-types/src/net/wireguard.rs @@ -41,7 +41,7 @@ impl ConnectionConfig { #[derive(Clone, Eq, PartialEq, Deserialize, Serialize, Debug, Hash)] pub struct PeerConfig { - /// Public key corresponding to the private key in [`TunnelConfig`]. + /// Peer's public key. pub public_key: PublicKey, /// Addresses that may be routed to the peer. Use `0.0.0.0/0` to route everything. pub allowed_ips: Vec<IpNetwork>, |
