fix(slickvpn): precise default TCP port as 443

This commit is contained in:
Quentin McGaw
2023-03-25 12:23:32 +00:00
parent 62169baeea
commit 27a3f2c846

View File

@@ -8,6 +8,6 @@ import (
func (p *Provider) GetConnection(selection settings.ServerSelection, ipv6Supported bool) ( func (p *Provider) GetConnection(selection settings.ServerSelection, ipv6Supported bool) (
connection models.Connection, err error) { connection models.Connection, err error) {
defaults := utils.NewConnectionDefaults(0, 443, 0) //nolint:gomnd defaults := utils.NewConnectionDefaults(443, 443, 0) //nolint:gomnd
return utils.GetConnection(p.Name(), p.storage, selection, defaults, ipv6Supported, p.randSource) return utils.GetConnection(p.Name(), p.storage, selection, defaults, ipv6Supported, p.randSource)
} }