log udp packet processing errors against the connection
This commit is contained in:
1 parent
57b7276ceb
commit
f4ba0f7287
1 file changed
+4
-2
+4
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user