mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
fix pass client id to webrtc dialer
This commit is contained in:
parent
2606075bdf
commit
c0acdd7d2a
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ func NewSnowflakeClient(config ClientConfig) (*Transport, error) {
|
||||||
eventsLogger := event.NewSnowflakeEventDispatcher()
|
eventsLogger := event.NewSnowflakeEventDispatcher()
|
||||||
clientID := turbotunnel.NewClientID()
|
clientID := turbotunnel.NewClientID()
|
||||||
transport := &Transport{
|
transport := &Transport{
|
||||||
dialer: NewWebRTCDialerWithNatPolicyAndEventsAndProxy(broker, natPolicy, iceServers, max, eventsLogger, config.CommunicationProxy),
|
dialer: NewWebRTCDialerWithNatPolicyAndEventsAndProxyAndClientID(broker, natPolicy, iceServers, max, eventsLogger, config.CommunicationProxy, clientID),
|
||||||
eventDispatcher: eventsLogger, clientID: clientID,
|
eventDispatcher: eventsLogger, clientID: clientID,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue