Browse Source

Chore: correct a typo

pull/76/head
xjasonlyu 3 years ago
parent
commit
ad53cc7ffe
  1. 2
      proxy/socks5.go

2
proxy/socks5.go

@ -104,7 +104,7 @@ func (ss *Socks5) DialUDP(*M.Metadata) (_ net.PacketConn, err error) {
addr, err := socks5.ClientHandshake(c, targetAddr, socks5.CmdUDPAssociate, user) addr, err := socks5.ClientHandshake(c, targetAddr, socks5.CmdUDPAssociate, user)
if err != nil { if err != nil {
return nil, fmt.Errorf("client hanshake: %w", err) return nil, fmt.Errorf("client handshake: %w", err)
} }
pc, err := dialer.ListenPacket("udp", "") pc, err := dialer.ListenPacket("udp", "")

Loading…
Cancel
Save