removed self connect log

This commit is contained in:
obscuren 2014-02-02 20:54:13 +01:00
parent 04b6e413d9
commit a9a564c226

@ -369,8 +369,6 @@ func (p *Peer) Start() {
peerHost, peerPort, _ := net.SplitHostPort(p.conn.LocalAddr().String()) peerHost, peerPort, _ := net.SplitHostPort(p.conn.LocalAddr().String())
servHost, servPort, _ := net.SplitHostPort(p.conn.RemoteAddr().String()) servHost, servPort, _ := net.SplitHostPort(p.conn.RemoteAddr().String())
if peerHost == servHost { if peerHost == servHost {
log.Println("Connected to self")
p.Stop() p.Stop()
return return