removed self connect log

pull/150/head
obscuren 11 years ago
parent 04b6e413d9
commit a9a564c226
  1. 2
      peer.go

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

Loading…
Cancel
Save