diff --git a/internal/provider/protonvpn/portforward.go b/internal/provider/protonvpn/portforward.go index 7eab60ccc..fe21e7bd0 100644 --- a/internal/provider/protonvpn/portforward.go +++ b/internal/provider/protonvpn/portforward.go @@ -49,10 +49,10 @@ func (p *Provider) PortForward(ctx context.Context, _ *http.Client, assignedLiftetime, lifetime)) } - if assignedInternalPort != assignedExternalPort { + if assignedInternalPort != internalPort { logger.Warn(fmt.Sprintf("internal port assigned %d differs"+ - " from external port assigned %d", - assignedInternalPort, assignedExternalPort)) + " from internal port requested %d", + assignedInternalPort, internalPort)) } port = assignedExternalPort