diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-24 23:41:05 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-24 23:41:05 +0200 |
commit | 2272e5250f7be8d28f4a9b5f75798da05ac85769 (patch) | |
tree | 03fabb5f17c34cafdae3ff03513ae38e3f74f579 /src/router | |
parent | Allow DoS mitigation to take any endpoint impl. (diff) | |
download | wireguard-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.rs | 3 |
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>) { + } } |