get rid of annoying firewall warnings

This commit is contained in:
v2ray committed 2016-05-29 16:37:52 +02:00
1 parent c3aa839227
commit b47c1ca609
34 files changed
+110 -51

No files matched your search

+3 -1
View File
@@ -11,13 +11,15 @@ import (
type InboundConnectionHandler struct {
port v2net.Port
address v2net.Address
PacketDispatcher dispatcher.PacketDispatcher
ConnInput io.Reader
ConnOutput io.Writer
}
func (this *InboundConnectionHandler) Listen(port v2net.Port) error {
func (this *InboundConnectionHandler) Listen(address v2net.Address, port v2net.Port) error {
this.port = port
this.address = address
return nil
}