aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2017-12-31 01:48:00 -0800
committerJake McGinty <me@jake.su>2017-12-31 01:48:00 -0800
commit60407e02b5744e974f6c44a8598efd5868f75ac6 (patch)
treee028ef4f3925f48346c01fcfe7959e2e6fb1a33e /src
parentcargo update (diff)
downloadwireguard-rs-60407e02b5744e974f6c44a8598efd5868f75ac6.tar.xz
wireguard-rs-60407e02b5744e974f6c44a8598efd5868f75ac6.zip
remove some unused dependencies
Diffstat (limited to 'src')
-rw-r--r--src/interface/peer_server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface/peer_server.rs b/src/interface/peer_server.rs
index 48e7f85..83d5af4 100644
--- a/src/interface/peer_server.rs
+++ b/src/interface/peer_server.rs
@@ -85,7 +85,7 @@ impl PeerServer {
let state = self.shared_state.borrow_mut();
match packet[0] {
1 => {
- info!("got handshake initialization.");
+ warn!("got handshake initialization, can't handle yet.");
},
2 => {
let their_index = LittleEndian::read_u32(&packet[4..]);
@@ -117,7 +117,7 @@ impl PeerServer {
let peer_ref = peer_ref.clone();
move |_| -> Box<Future<Item = _, Error = _>> {
if peer_ref.borrow().our_current_index().unwrap() != our_index {
- info!("cancelling old keepalive_timer");
+ debug!("cancelling old keepalive_timer");
Box::new(future::err(()))
} else {
Box::new(timer_tx.clone().send(TimerMessage::KeepAlive(peer_ref.clone(), our_index))