mirror of https://github.com/fatedier/frp
call config complete in nathole discover (#3813)
parent
38f297a395
commit
97d3cf1a3b
|
@ -51,6 +51,7 @@ var natholeDiscoveryCmd = &cobra.Command{
|
|||
cfg, _, _, _, err := config.LoadClientConfig(cfgFile, strictConfigMode)
|
||||
if err != nil {
|
||||
cfg = &v1.ClientCommonConfig{}
|
||||
cfg.Complete()
|
||||
}
|
||||
if natHoleSTUNServer != "" {
|
||||
cfg.NatHoleSTUNServer = natHoleSTUNServer
|
||||
|
|
Loading…
Reference in New Issue