mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
call config complete in nathole discover
This commit is contained in:
parent
38f297a395
commit
ab91bb6fc9
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue