From 7a0b48ffb3bc69964dca9b67ec1038e4e3665f1c Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 12 Feb 2018 00:01:15 +0000 Subject: [PATCH] Clean up session.go --- src/yggdrasil/session.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/yggdrasil/session.go b/src/yggdrasil/session.go index 585dd5d..681a194 100644 --- a/src/yggdrasil/session.go +++ b/src/yggdrasil/session.go @@ -5,7 +5,6 @@ package yggdrasil // The session information consists of crypto keys and coords import "time" -import "net" type sessionInfo struct { core *Core @@ -60,7 +59,6 @@ func (s *sessionInfo) update(p *sessionPing) bool { s.theirNonce = boxNonce{} s.nonceMask = 0 } - s.core.log.Printf("Received MTU %d from %s", p.mtu, net.IP(s.theirAddr[:]).String()) if p.mtu >= 1280 { s.theirMTU = p.mtu } @@ -205,7 +203,6 @@ func (sinfo *sessionInfo) close() { func (ss *sessions) getPing(sinfo *sessionInfo) sessionPing { loc := ss.core.switchTable.getLocator() coords := loc.getCoords() - sinfo.core.log.Printf("Sending MTU %d to %s", sinfo.myMTU, net.IP(sinfo.theirAddr[:]).String()) ref := sessionPing{ sendPermPub: ss.core.boxPub, handle: sinfo.myHandle,