From 7f6e1dd1a1f202932a6ff7eeb11334b87cb672cc Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Sun, 25 Oct 2026 15:59:03 -0600 Subject: [PATCH] Bump radiance to 8c9bd6e for the pion stack upgrade Pulls in radiance #706/#707: broflake ae5d221 and lantern-box v0.0.174, which upgrade the whole pion stack (webrtc 4.2.11->4.2.25, ice 4.2.2->4.4.8, dtls 3.1.4->3.1.15, sctp 1.9.4->1.12.0, stun v3->v4, transport v4->v5, turn v4->v5), and advertise UnboundedTuning on config fetches. radiance #706 widened ipc.Client.AddPrivateServer with a ServerLocation and a joined flag; pass the zero values at both call sites, as radiance's own cmd/lantern does, so behavior is unchanged until #9210 plumbs real locations through. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01UG31BsLYqwPyN5StFB7RNN --- go.mod | 36 ++++++------- go.sum | 75 +++++++++++++-------------- lantern-core/private-server/server.go | 5 +- 3 files changed, 57 insertions(+), 59 deletions(-) diff --git a/go.mod b/go.mod index 3622e32a62..0413374c23 100644 --- a/go.mod +++ b/go.mod @@ -32,9 +32,9 @@ replace github.com/refraction-networking/water => github.com/getlantern/water v0 require ( github.com/alecthomas/assert/v2 v2.3.0 - github.com/getlantern/common v1.2.1-0.20260910154003-08e030318f24 + github.com/getlantern/common v1.2.1-0.20261025061526-9182c99db6fa github.com/getlantern/lantern-server-provisioner v0.0.0-20251031121934-8ea031fccfa9 - github.com/getlantern/radiance v0.0.0-20261022174223-e10660844b33 + github.com/getlantern/radiance v0.0.0-20261025062735-8c9bd6e53983 github.com/sagernet/gvisor v0.0.0-20250325023245-7a9c0f5725fb github.com/sagernet/sing-box v1.13.19 github.com/sagernet/sing-tun v0.8.12-0.20260810140523-7c73233bd0fb @@ -176,11 +176,11 @@ require ( github.com/gaukas/wazerofs v0.1.0 // indirect github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b // indirect github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c // indirect - github.com/getlantern/broflake v0.0.0-20261018030031-c6268bfc1b56 // indirect + github.com/getlantern/broflake v0.0.0-20261025054750-ae5d221dcc21 // indirect github.com/getlantern/domainfront v0.0.0-20260915172349-4984689a8667 // indirect github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e // indirect github.com/getlantern/kindling v0.0.0-20261022170147-217b175b5057 // indirect - github.com/getlantern/lantern-box v0.0.169 // indirect + github.com/getlantern/lantern-box v0.0.174 // indirect github.com/getlantern/lantern-water v0.0.0-20260520145825-958775d51395 // indirect github.com/getlantern/osversion v0.0.0-20240418205916-2e84a4a4e175 // indirect github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535 // indirect @@ -233,22 +233,22 @@ require ( github.com/multiformats/go-varint v0.0.6 // indirect github.com/nwaples/rardecode/v2 v2.2.0 // indirect github.com/openai/openai-go/v3 v3.26.0 // indirect - github.com/pion/datachannel v1.6.0 // indirect - github.com/pion/dtls/v3 v3.1.4 // indirect - github.com/pion/ice/v4 v4.2.2 // indirect - github.com/pion/interceptor v0.1.44 // indirect + github.com/pion/datachannel v1.6.3 // indirect + github.com/pion/dtls/v3 v3.1.15 // indirect + github.com/pion/ice/v4 v4.4.8 // indirect + github.com/pion/interceptor v0.1.49 // indirect github.com/pion/logging v0.2.4 // indirect - github.com/pion/mdns/v2 v2.1.0 // indirect + github.com/pion/mdns/v2 v2.2.2 // indirect github.com/pion/randutil v0.1.0 // indirect - github.com/pion/rtcp v1.2.16 // indirect - github.com/pion/rtp v1.10.1 // indirect - github.com/pion/sctp v1.9.4 // indirect - github.com/pion/sdp/v3 v3.0.18 // indirect - github.com/pion/srtp/v3 v3.0.10 // indirect - github.com/pion/stun/v3 v3.1.5 // indirect - github.com/pion/transport/v4 v4.0.2 // indirect - github.com/pion/turn/v4 v4.1.4 // indirect - github.com/pion/webrtc/v4 v4.2.11 // indirect + github.com/pion/rtcp v1.2.20 // indirect + github.com/pion/rtp v1.10.6 // indirect + github.com/pion/sctp v1.12.0 // indirect + github.com/pion/sdp/v3 v3.0.20 // indirect + github.com/pion/srtp/v3 v3.1.3 // indirect + github.com/pion/stun/v4 v4.0.1 // indirect + github.com/pion/transport/v5 v5.1.1 // indirect + github.com/pion/turn/v5 v5.1.2 // indirect + github.com/pion/webrtc/v4 v4.2.25 // indirect github.com/pires/go-proxyproto v0.8.1 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/prometheus-community/pro-bing v0.4.0 // indirect diff --git a/go.sum b/go.sum index 8c38180ebd..6b8e052460 100644 --- a/go.sum +++ b/go.sum @@ -228,10 +228,10 @@ github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b h1:3wQsYZSl/Uv github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b/go.mod h1:PrNR8tMXO26YNs8K9653XCUH7u2Kv4OdfFC3Ke1GsX0= github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c h1:ZzxuhIWO295y4eE6wPYUq8Smntlgg+y39L5OOyMJY+k= github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c/go.mod h1:b5teAOFT+vpBqc2CHoz74QTEM15iOv1PLdQogwXcfrM= -github.com/getlantern/broflake v0.0.0-20261018030031-c6268bfc1b56 h1:cO2BSlKzP7C5z95b+vKH6WD8xR17X18gSOg/6RPjrBY= -github.com/getlantern/broflake v0.0.0-20261018030031-c6268bfc1b56/go.mod h1:ISVCVZlz+2T/yhWHKCmu8t8Tmw4y0+K6AxFYdcWqF70= -github.com/getlantern/common v1.2.1-0.20260910154003-08e030318f24 h1:RrJsgaBsK+IspwFX7JwjFRItCWKZoKVY7UcsugheQvg= -github.com/getlantern/common v1.2.1-0.20260910154003-08e030318f24/go.mod h1:9iL78jR5kZqr0E7oPxi38o6gPMhVa5dJBC5ngUgHzdg= +github.com/getlantern/broflake v0.0.0-20261025054750-ae5d221dcc21 h1:KZL00+oGkr0lMC+8WTq8An61mXzcgHkx4R8WUxDcMKs= +github.com/getlantern/broflake v0.0.0-20261025054750-ae5d221dcc21/go.mod h1:bg92IeUtbQuhHzIt7qMCvu0eMfhbckRwjnoEssG4j2k= +github.com/getlantern/common v1.2.1-0.20261025061526-9182c99db6fa h1:ugOTq3L06K1mn9SDFvjXkiKG54hc9EL8NZ2OIpKpc1k= +github.com/getlantern/common v1.2.1-0.20261025061526-9182c99db6fa/go.mod h1:9iL78jR5kZqr0E7oPxi38o6gPMhVa5dJBC5ngUgHzdg= github.com/getlantern/context v0.0.0-20220418194847-3d5e7a086201 h1:oEZYEpZo28Wdx+5FZo4aU7JFXu0WG/4wJWese5reQSA= github.com/getlantern/context v0.0.0-20220418194847-3d5e7a086201/go.mod h1:Y9WZUHEb+mpra02CbQ/QczLUe6f0Dezxaw5DCJlJQGo= github.com/getlantern/domainfront v0.0.0-20260915172349-4984689a8667 h1:S1KS7ljREfY2IAyvIExU7vciY3rPdh//PSzoV3XSZHY= @@ -248,8 +248,8 @@ github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e h1:iJfNXnhg github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e/go.mod h1:ag5g9aWUw2FJcX5RVRpJ9EBQBy5yJuy2WXDouIn/m4w= github.com/getlantern/kindling v0.0.0-20261022170147-217b175b5057 h1:92dJUlWatnUAZfUBuzo30iRHzD+6XumAXKXpRrQd65I= github.com/getlantern/kindling v0.0.0-20261022170147-217b175b5057/go.mod h1:98jp1v8UyXJRGn8slpvzNz2tKnyzvSqtlVYkQ+kYapQ= -github.com/getlantern/lantern-box v0.0.169 h1:FfZcAMd7DXny4TdSv7VEE1g2tQRzYbzjb29SroCNoDY= -github.com/getlantern/lantern-box v0.0.169/go.mod h1:7FjUGTi8yVekVKOJH00nIkguBl1Uisa4aTwW1u7uqNo= +github.com/getlantern/lantern-box v0.0.174 h1:0SWcbAyg2lh3qmUDGP0mVkitl64Te/l2nwzYOwE5QWw= +github.com/getlantern/lantern-box v0.0.174/go.mod h1:9k0+TIp7GGwqvWSYqTs/cVbq6JSndn/tGUM0xjJDjlQ= github.com/getlantern/lantern-server-provisioner v0.0.0-20251031121934-8ea031fccfa9 h1:6seyD2f9tz2am0YQd/Qn+q7LFiiQgnmxgwWFnVceGZw= github.com/getlantern/lantern-server-provisioner v0.0.0-20251031121934-8ea031fccfa9/go.mod h1:s0VKrlJf/z+M0U8IKHFL2hfuflocRw3SINmMacrTlMA= github.com/getlantern/lantern-water v0.0.0-20260520145825-958775d51395 h1:grfGavAUp2E9w9ZoJuM3FyWyQ0sCJ64V4ZMKtZKRqTc= @@ -262,8 +262,8 @@ github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535 h1:rtDmW8YL github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535/go.mod h1:WKJEdjMOD4IuTRYwjQHjT4bmqDl5J82RShMLxPAvi0Q= github.com/getlantern/publicip v0.0.0-20260328175246-2c460fe80c6b h1:gMYJzEhLrmIqQ+JnjiYNm+UyUDalK3WUmVyecFwmV5g= github.com/getlantern/publicip v0.0.0-20260328175246-2c460fe80c6b/go.mod h1:NpfXdK4ldEKkjQ4P1R+DBF4ua5VFOlxmgHROTnYrApg= -github.com/getlantern/radiance v0.0.0-20261022174223-e10660844b33 h1:CRJESoc2VuyM6LQ45n1hxBdTPAklWrGnw2Mwids4s7U= -github.com/getlantern/radiance v0.0.0-20261022174223-e10660844b33/go.mod h1:9+Hul8JiRyebpnPNzWlCRRNE/qWz08vARF7lFGUKTks= +github.com/getlantern/radiance v0.0.0-20261025062735-8c9bd6e53983 h1:trYY+n1lv5O0+qiC3TU+I/i0ZF4QJN7RFJ3VviA6c3s= +github.com/getlantern/radiance v0.0.0-20261025062735-8c9bd6e53983/go.mod h1:INyYdbQkZa3h1ngZFp6JxwcZsP4ztJjkSwCRTsV93L0= github.com/getlantern/samizdat v0.0.3-0.20261021183544-34a7d2563eef h1:0B50zDG+CRQd8KflfNaKVF75SZfze3526AgaH7n6AUY= github.com/getlantern/samizdat v0.0.3-0.20261021183544-34a7d2563eef/go.mod h1:uEeykQSW2/6rTjfPlj3MTTo59poSHXfAHTGgzYDkbr0= github.com/getlantern/semconv v0.0.0-20261020020737-084d1daf4879 h1:ya+A5OI2FyVR+F140wxcH5KK5TfanvSdhBvu6ydJTlg= @@ -540,41 +540,38 @@ github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= -github.com/pion/datachannel v1.6.0 h1:XecBlj+cvsxhAMZWFfFcPyUaDZtd7IJvrXqlXD/53i0= -github.com/pion/datachannel v1.6.0/go.mod h1:ur+wzYF8mWdC+Mkis5Thosk+u/VOL287apDNEbFpsIk= -github.com/pion/dtls/v3 v3.1.4 h1:QhvtMflMfu9Kf0RcDC5BJBle4caPskByrKQR6uuYqpY= -github.com/pion/dtls/v3 v3.1.4/go.mod h1:cr/qotLISUw/9C1m83ZPNZtj9WnXkYLpfCptPqbkInc= -github.com/pion/ice/v4 v4.2.2 h1:dQJzzcgTFHDYyV3BoCfjPeX+JEtr58BWPi4PGyo6Vjg= -github.com/pion/ice/v4 v4.2.2/go.mod h1:2quLV1S5v1tAx3VvAJaH//KGitRXvo4RKlX6D3tnN+c= -github.com/pion/interceptor v0.1.44 h1:sNlZwM8dWXU9JQAkJh8xrarC0Etn8Oolcniukmuy0/I= -github.com/pion/interceptor v0.1.44/go.mod h1:4atVlBkcgXuUP+ykQF0qOCGU2j7pQzX2ofvPRFsY5RY= +github.com/pion/datachannel v1.6.3 h1:HZAYLpunVI0xi057ZiANl558d0uSpomcWw4UEPz3qXs= +github.com/pion/datachannel v1.6.3/go.mod h1:oRmkXVVXxkUbqa8MatgdNHW29kvtQY3HUdjJQsfv2GE= +github.com/pion/dtls/v3 v3.1.15 h1:okWk5LNwU21DfhvG8z4wm45knHVSPEdkihwp6BxfQcc= +github.com/pion/dtls/v3 v3.1.15/go.mod h1:iKFQNYrjsN2TiA2YKKMqB9MOZaFpjFULBI/A4sW0eyc= +github.com/pion/ice/v4 v4.4.8 h1:NB22Ze5WrgMjcf9L+O+1B29bl6anq+sbyvddImDLdhc= +github.com/pion/ice/v4 v4.4.8/go.mod h1:zCRRg4Mkpdbx9B+75fd4z2APvIXeIraeUOB7IMPt8mU= +github.com/pion/interceptor v0.1.49 h1:iyBsNHRoLNNXZiJA/DdGvJgdyfS8YWDCzxIAlVjt5nY= +github.com/pion/interceptor v0.1.49/go.mod h1:MZ6PJkja/TCo350HAnBrs/rUIyad9mWjpcvytrf3ViQ= github.com/pion/logging v0.2.4 h1:tTew+7cmQ+Mc1pTBLKH2puKsOvhm32dROumOZ655zB8= github.com/pion/logging v0.2.4/go.mod h1:DffhXTKYdNZU+KtJ5pyQDjvOAh/GsNSyv1lbkFbe3so= -github.com/pion/mdns/v2 v2.1.0 h1:3IJ9+Xio6tWYjhN6WwuY142P/1jA0D5ERaIqawg/fOY= -github.com/pion/mdns/v2 v2.1.0/go.mod h1:pcez23GdynwcfRU1977qKU0mDxSeucttSHbCSfFOd9A= +github.com/pion/mdns/v2 v2.2.2 h1:qq9Kj3PnjF0mfSwd8Icu0CXy5aoYdQKnNUIsGPeUpgk= +github.com/pion/mdns/v2 v2.2.2/go.mod h1:ZX5f0AAH1D6TOjdjvcBORZZHaZuG0t9+br78lHEwiJ4= github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA= github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8= -github.com/pion/rtcp v1.2.16 h1:fk1B1dNW4hsI78XUCljZJlC4kZOPk67mNRuQ0fcEkSo= -github.com/pion/rtcp v1.2.16/go.mod h1:/as7VKfYbs5NIb4h6muQ35kQF/J0ZVNz2Z3xKoCBYOo= -github.com/pion/rtp v1.10.1 h1:xP1prZcCTUuhO2c83XtxyOHJteISg6o8iPsE2acaMtA= -github.com/pion/rtp v1.10.1/go.mod h1:rF5nS1GqbR7H/TCpKwylzeq6yDM+MM6k+On5EgeThEM= -github.com/pion/sctp v1.9.4 h1:cMxEu0F5tbP4qH07bKf1Zjf4rUih9LIo0qQt424e258= -github.com/pion/sctp v1.9.4/go.mod h1:N20Dq6LY+JvJDAh9VVh1JELngb2rQ8dPgds5yBWiPgw= -github.com/pion/sdp/v3 v3.0.18 h1:l0bAXazKHpepazVdp+tPYnrsy9dfh7ZbT8DxesH5ZnI= -github.com/pion/sdp/v3 v3.0.18/go.mod h1:ZREGo6A9ZygQ9XkqAj5xYCQtQpif0i6Pa81HOiAdqQ8= -github.com/pion/srtp/v3 v3.0.10 h1:tFirkpBb3XccP5VEXLi50GqXhv5SKPxqrdlhDCJlZrQ= -github.com/pion/srtp/v3 v3.0.10/go.mod h1:3mOTIB0cq9qlbn59V4ozvv9ClW/BSEbRp4cY0VtaR7M= -github.com/pion/stun/v3 v3.1.5 h1:Y1FHlhaI6+4UoC5i/zQf4F7JvdZtB24/05oyy/GF1x8= -github.com/pion/stun/v3 v3.1.5/go.mod h1:zRUghXSQU32Lx5orJsz3uYMkIihweXb3mu5gIns02fs= -github.com/pion/transport v0.13.1 h1:/UH5yLeQtwm2VZIPjxwnNFxjS4DFhyLfS4GlfuKUzfA= -github.com/pion/transport/v3 v3.1.1 h1:Tr684+fnnKlhPceU+ICdrw6KKkTms+5qHMgw6bIkYOM= -github.com/pion/transport/v3 v3.1.1/go.mod h1:+c2eewC5WJQHiAA46fkMMzoYZSuGzA/7E2FPrOYHctQ= -github.com/pion/transport/v4 v4.0.2 h1:ifYlPqNwsy6aKQ9y8yzxXlHae5431ZrH2avkD/Rn6Tk= -github.com/pion/transport/v4 v4.0.2/go.mod h1:06hFI+jCFcok2X2MekVufNZ/uzNZXivGBPfviSVcjgM= -github.com/pion/turn/v4 v4.1.4 h1:EU11yMXKIsK43FhcUnjLlrhE4nboHZq+TXBIi3QpcxQ= -github.com/pion/turn/v4 v4.1.4/go.mod h1:ES1DXVFKnOhuDkqn9hn5VJlSWmZPaRJLyBXoOeO/BmQ= -github.com/pion/webrtc/v4 v4.2.11 h1:QUX1QZKlNIn4O7U5JxLPGP0sV5RTncZkzu9SPR3jVNU= -github.com/pion/webrtc/v4 v4.2.11/go.mod h1:s/rAiyy77GyRFrZMx+Ls6aua26dIBPudH8/ZHYbIRWY= +github.com/pion/rtcp v1.2.20 h1:ZxQpb1Z3st9W5Rts4PjGoC3ynDhUtQ9B/itKJho8h2I= +github.com/pion/rtcp v1.2.20/go.mod h1:vX7Es6skWYm4oVvOSC5+4WHLYUTZHcbGNmk5wjzMGH4= +github.com/pion/rtp v1.10.6 h1:1qs356bmniSc89gTF1KFdI0kej7qTdIUSnHOXu3P2EY= +github.com/pion/rtp v1.10.6/go.mod h1:qvV617FVkp5DBUfoHGxP8uOnTI4UaNDJK0z7Sildylk= +github.com/pion/sctp v1.12.0 h1:AzUdVkVBNyGY1W4crWO1/aOWzMaW3zsVHGrNuAfFQiI= +github.com/pion/sctp v1.12.0/go.mod h1:6k1zrpkrxSwbisitn/AlzDQaa15DR49MFsrMochG/yc= +github.com/pion/sdp/v3 v3.0.20 h1:TS6DViqcmp+49f0+mjw9anbr9xY3vJtsZewxAvlMCRQ= +github.com/pion/sdp/v3 v3.0.20/go.mod h1:slIMXDK5OKj0nhISwjfeN18AzTBCt2LYZq9uPw0cU5Q= +github.com/pion/srtp/v3 v3.1.3 h1:O3sfbfWfq/OyEaXRbX02Z0SNQRijS9nDdc/DEb8jxlU= +github.com/pion/srtp/v3 v3.1.3/go.mod h1:v3uQtrCz9LH3aahau0jtzRDsWGwKkh4a0BiBwzzxhtQ= +github.com/pion/stun/v4 v4.0.1 h1:S2ggK4hsUJJKoZfpL90uIqIRTj6xJ0NOIEkXgcpQif0= +github.com/pion/stun/v4 v4.0.1/go.mod h1:byktbPA8U7HjJ2H8w3moP7nzq0Q+kYNulvMLPaubQL4= +github.com/pion/transport/v5 v5.1.1 h1:Sauq8YJqRopgRfIgnpfKpdpKG14g0N4jWlRgpWsEfN8= +github.com/pion/transport/v5 v5.1.1/go.mod h1:Qxw6fCEjFWQkRDZOhS4Vf+neJBcihauvA3uyEa1J1F0= +github.com/pion/turn/v5 v5.1.2 h1:acEOO+D5txJ52vKfcilmSMItfP23Q9K6pJ1LM5P2VV0= +github.com/pion/turn/v5 v5.1.2/go.mod h1:57Oadc8fHnac15VFyCd6nEaBTVZBxQe2POUMD4lsHRA= +github.com/pion/webrtc/v4 v4.2.25 h1:1Lq9Ooxzm02X3Emo8ahJSLRbVa7SXkdIOio0skKP16Y= +github.com/pion/webrtc/v4 v4.2.25/go.mod h1:MPKfzjyGejqukPPv7HEaGPThe5ZpWJiIV7oyj0fSwdI= github.com/pires/go-proxyproto v0.8.1 h1:9KEixbdJfhrbtjpz/ZwCdWDD2Xem0NZ38qMYaASJgp0= github.com/pires/go-proxyproto v0.8.1/go.mod h1:ZKAAyp3cgy5Y5Mo4n9AlScrkCZwUy0g3Jf+slqQVcuU= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= diff --git a/lantern-core/private-server/server.go b/lantern-core/private-server/server.go index f85eca94aa..920681b20d 100644 --- a/lantern-core/private-server/server.go +++ b/lantern-core/private-server/server.go @@ -13,6 +13,7 @@ import ( "sync" "time" + C "github.com/getlantern/common" "github.com/getlantern/radiance/ipc" pcommon "github.com/getlantern/lantern-server-provisioner/common" @@ -225,7 +226,7 @@ func listenToServerEvents(ps provisionSession) { region, city, country := ParseLocation(provisioner.serverLocation) slog.Debug("Provisioner response", slog.Any("response", resp), slog.String("region", region), slog.String("country", country), slog.String("city", city)) ctx := context.Background() - mangerErr := provisioner.client.AddPrivateServer(ctx, resp.Tag, resp.ExternalIP, resp.Port, resp.AccessToken) + mangerErr := provisioner.client.AddPrivateServer(ctx, resp.Tag, resp.ExternalIP, resp.Port, resp.AccessToken, C.ServerLocation{}, false) if mangerErr != nil { slog.Error("Error adding server manager instance", slog.Any("error", mangerErr)) events.OnError(convertErrorToJSON("EventTypeProvisioningError", mangerErr)) @@ -362,7 +363,7 @@ func AddServerManually(ip, port, accessToken, tag string, vpnClient *ipc.Client, location := getGeoInfo(ip) _, _, _ = ParseLocation(location) ctx := context.Background() - err = provisionSession.client.AddPrivateServer(ctx, resp.Tag, resp.ExternalIP, resp.Port, resp.AccessToken) + err = provisionSession.client.AddPrivateServer(ctx, resp.Tag, resp.ExternalIP, resp.Port, resp.AccessToken, C.ServerLocation{}, false) if err != nil { return err }