aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/manager/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager/builder.rs b/src/manager/builder.rs
index 6ee71f2..4f0e667 100644
--- a/src/manager/builder.rs
+++ b/src/manager/builder.rs
@@ -98,7 +98,7 @@ impl<'a> ConfigBuilder<'a> {
#[inline]
pub fn add_road_warrior(&mut self, src: &Source, p: &proto::RoadWarrior) {
- let psk = match find_psk(&self.gc, src, &p.peer) {
+ let psk = match find_psk(self.gc, src, &p.peer) {
Ok(v) => v,
Err(e) => {
self.err.push(e);