mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 07:06:53 +00:00
fix udp nil && add version display on web
This commit is contained in:
@@ -190,7 +190,7 @@ func (s *TRPClient) handleChan(src net.Conn) {
|
||||
}
|
||||
return
|
||||
}
|
||||
if lk.ConnType == "udp" {
|
||||
if lk.ConnType == "udp5" {
|
||||
logs.Trace("new %s connection with the goal of %s, remote address:%s", lk.ConnType, lk.Host, lk.RemoteAddr)
|
||||
s.handleUdp(src)
|
||||
}
|
||||
|
Reference in New Issue
Block a user