mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-05 16:30:07 +00:00
Add network type to destination to be ready for UDP connection
This commit is contained in:
1 parent
5d5102de4c
commit
b319704282
14 files changed
+94
-34
No files matched your search
@@ -19,7 +19,7 @@ func (handler *InboundConnectionHandler) Listen(port uint16) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (handler *InboundConnectionHandler) Communicate(dest v2net.Address) error {
|
||||
func (handler *InboundConnectionHandler) Communicate(dest *v2net.Destination) error {
|
||||
ray := handler.Server.NewInboundConnectionAccepted(dest)
|
||||
|
||||
input := ray.InboundInput()
|
||||
|
||||
Reference in new issue
Block a user