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 {
|
} else {
|
||||||
relayConn.Log(pde.Error())
|
relayConn.Log(pde.Error())
|
||||||
}
|
}
|
||||||
} else {
|
continue
|
||||||
checkWarn(err)
|
}
|
||||||
|
if err != nil {
|
||||||
|
relayConn.Log(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user