log udp packet processing errors against the connection

This commit is contained in:
Matthias Radestock committed 2015-04-15 21:10:22 +01:00
1 parent 57b7276ceb
commit f4ba0f7287
1 file changed
+4 -2
+4 -2
View File
@@ -257,8 +257,10 @@ func (router *Router) udpReader(conn *net.UDPConn, po PacketSink) {
} else {
relayConn.Log(pde.Error())
}
} else {
checkWarn(err)
continue
}
if err != nil {
relayConn.Log(err)
}
}
}