Skip to content

Commit

Permalink
call config complete in nathole discover
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Nov 28, 2023
1 parent 38f297a commit ab91bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/frpc/sub/nathole.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab91bb6

Please sign in to comment.