TUN-3939: Add logging that shows that Warp-routing is enabled

This commit is contained in:
Nuno Diegues 2021-02-19 10:53:43 +00:00
parent 63a29f421a
commit 5ba3b3b309
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ func prepareTunnelConfig(
warpRoutingEnabled := isWarpRoutingEnabled(cfg.WarpRouting, isNamedTunnel)
if warpRoutingEnabled {
warpRoutingService = ingress.NewWarpRoutingService()
log.Info().Msgf("Warp-routing is enabled")
}
protocolSelector, err := connection.NewProtocolSelector(c.String("protocol"), warpRoutingEnabled, namedTunnel, edgediscovery.HTTP2Percentage, origin.ResolveTTL, log)