mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Prefer ipv6 protocol on direct connections
This commit is contained in:
+1
-1
@@ -37,5 +37,5 @@ func (d *directTelegram) Dial(dc conntypes.DC,
|
||||
dc = conntypes.DCDefaultIdx
|
||||
}
|
||||
|
||||
return d.baseTelegram.dial(dc-1, protocol)
|
||||
return d.baseTelegram.dial(dc-1, conntypes.ConnectionProtocolAny)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user