unix: use net.Dial to avoid interface binding Influence

This commit is contained in:
nadoo committed 2022-01-19 23:32:44 +08:00
1 parent 720f12aa0a
commit 27de61a59d
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -123,8 +123,6 @@ func (s *Unix) ServePacket(pc net.PacketConn) {
continue
}
log.F("!!! unix ServePacker read from: %s", srcAddr)
var session *Session
sessionKey := srcAddr.String()