TUN-5246: Use protocol: quic for Quick tunnels if one is not already set

This commit is contained in:
Sudarsan Reddy 2021-10-12 18:25:38 +01:00
parent bb10e1dee5
commit 5148d00516
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ func RunQuickTunnel(sc *subcommandContext) error {
sc.log.Info().Msg(line)
}
if !sc.c.IsSet("protocol") {
sc.c.Set("protocol", "quic")
}
return StartServer(
sc.c,
version,