fix: hysteria ipv6 outbound

This commit is contained in:
wwqgtxx
2022-12-11 13:41:44 +08:00
parent 9df42d7b98
commit 57dfaf135d
4 changed files with 21 additions and 28 deletions

View File

@ -43,7 +43,7 @@ func last(s string, b byte) int {
}
type PacketDialer interface {
ListenPacket() (net.PacketConn, error)
ListenPacket(rAddr net.Addr) (net.PacketConn, error)
Context() context.Context
RemoteAddr(host string) (net.Addr, error)
}