Skip to content

Commit

Permalink
[feature]: use stun.miwifi.com:3478, log level 3 "triple verbose"
Browse files Browse the repository at this point in the history
  • Loading branch information
HustCoderHu committed Jul 27, 2023
1 parent fe603b7 commit 5f132ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
func main() {
var serverAddr = flag.String("s", stun.DefaultServerAddr, "STUN server address")
var behaviorTestMode = flag.Bool("b", false, "Enable NAT behavior test mode")
var verboseLevel = flag.Int("v", 0, "Verbose level (0: none, 1: verbose, 2: double verbose, 3: triple verbose)")
var verboseLevel = flag.Int("v", 3, "Verbose level (0: none, 1: verbose, 2: double verbose, 3: triple verbose)")
flag.Parse()

// Validate verbose level
Expand Down
2 changes: 1 addition & 1 deletion stun/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package stun

// Default server address and client name.
const (
DefaultServerAddr = "stun.ekiga.net:3478"
DefaultServerAddr = "stun.miwifi.com:3478" //"stun.ekiga.net:3478"
DefaultSoftwareName = "StunClient"
)

Expand Down

0 comments on commit 5f132ff

Please sign in to comment.