aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/types/endpoint.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-23 10:32:18 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-23 10:32:18 +0200
commit3fa928b3158ce33a57e9ba2c1913485eb409ff4b (patch)
tree87562a6c84bf421a19d01ef153927f3f8315cf98 /src/wireguard/types/endpoint.rs
parentWork on porting timer semantics and linux platform (diff)
downloadwireguard-rs-3fa928b3158ce33a57e9ba2c1913485eb409ff4b.tar.xz
wireguard-rs-3fa928b3158ce33a57e9ba2c1913485eb409ff4b.zip
Work on platform specific code (Linux)
Diffstat (limited to 'src/wireguard/types/endpoint.rs')
-rw-r--r--src/wireguard/types/endpoint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireguard/types/endpoint.rs b/src/wireguard/types/endpoint.rs
index f4f93da..4702aab 100644
--- a/src/wireguard/types/endpoint.rs
+++ b/src/wireguard/types/endpoint.rs
@@ -3,5 +3,5 @@ use std::net::SocketAddr;
pub trait Endpoint: Send + 'static {
fn from_address(addr: SocketAddr) -> Self;
fn into_address(&self) -> SocketAddr;
- fn clear_src(&self);
+ fn clear_src(&mut self);
}