From c4f743e2a33ba39036f7e9919b7adc80415b1754 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Tue, 4 Feb 2020 20:31:51 +0100 Subject: Reference preshared keys by path. --- src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 6269525..362c962 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,7 +2,7 @@ // // Copyright 2019 Hristo Venev -use crate::model::{Ipv4Set, Ipv6Set, Key}; +use crate::model::{Ipv4Set, Ipv6Set, Key, Secret}; use serde_derive; use std::collections::HashMap; use std::path::PathBuf; @@ -11,7 +11,7 @@ use std::path::PathBuf; #[serde(deny_unknown_fields)] pub struct Source { pub url: String, - pub psk: Option, + pub psk: Option, pub ipv4: Ipv4Set, pub ipv6: Ipv6Set, #[serde(default)] @@ -22,7 +22,7 @@ pub struct Source { #[serde(deny_unknown_fields)] pub struct Peer { pub source: Option, - pub psk: Option, + pub psk: Option, } #[derive(Clone, PartialEq, Eq, Debug)] -- cgit