summaryrefslogtreecommitdiffstats
path: root/src/router
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-24 23:41:05 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-24 23:41:05 +0200
commit2272e5250f7be8d28f4a9b5f75798da05ac85769 (patch)
tree03fabb5f17c34cafdae3ff03513ae38e3f74f579 /src/router
parentAllow DoS mitigation to take any endpoint impl. (diff)
downloadwireguard-rs-2272e5250f7be8d28f4a9b5f75798da05ac85769.tar.xz
wireguard-rs-2272e5250f7be8d28f4a9b5f75798da05ac85769.zip
Move to hjul crate
Moved timer code into seperate crate (`hjul').
Diffstat (limited to 'src/router')
-rw-r--r--src/router/peer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/router/peer.rs b/src/router/peer.rs
index 1edb635..9c1721a 100644
--- a/src/router/peer.rs
+++ b/src/router/peer.rs
@@ -314,4 +314,7 @@ impl Peer {
));
res
}
+
+ pub fn send(&self, msg : Vec<u8>) {
+ }
}