Skip to content

Commit

Permalink
Merge pull request #194 from noah-witt/wgDns
Browse files Browse the repository at this point in the history
Allow DNS Names in Custom Wiregaurd Configs
  • Loading branch information
jamesmcm authored Oct 24, 2022
2 parents 2e22fad + ab5aae6 commit 4b4056d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vopono_core/src/network/wireguard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ pub struct WireguardPeer {
pub public_key: String,
#[serde(rename = "AllowedIPs", deserialize_with = "de_vec_ipnet")]
pub allowed_ips: Vec<IpNet>,
#[serde(rename = "Endpoint")]
#[serde(rename = "Endpoint", deserialize_with = "de_socketaddr")]
pub endpoint: SocketAddr,
#[serde(rename = "PersistentKeepalive")]
pub keepalive: Option<String>,
Expand Down

0 comments on commit 4b4056d

Please sign in to comment.