mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
doc: update doc
This commit is contained in:
1 parent
d8b9e00025
commit
8ccafa8fbd
3 files changed
+31
-23
No files matched your search
+1
-1
@@ -92,7 +92,7 @@ func dial(network, addr string, localIP net.IP) (net.Conn, error) {
|
||||
// DialUDP connects to the given address
|
||||
func (d *Direct) DialUDP(network, addr string) (net.PacketConn, net.Addr, error) {
|
||||
// TODO: support specifying local interface
|
||||
la := ""
|
||||
var la string
|
||||
if d.ip != nil {
|
||||
la = d.ip.String() + ":0"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user