Skip to content

Commit

Permalink
v20221010
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Sep 29, 2022
1 parent 25b6889 commit 8c07a98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/brook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1911,14 +1911,15 @@ func main() {
&cli.StringFlag{
Name: "a",
Value: "137.184.237.95",
Usage: "A record of domain",
Usage: "The A record of domain",
},
},
Action: func(c *cli.Context) error {
if c.String("socks5") == "" {
cli.ShowCommandHelp(c, "testsocks5")
return nil
}
socks5.Debug = true
return brook.Socks5Test(c.String("socks5"), c.String("username"), c.String("password"), c.String("domain"), c.String("a"), c.String("dns"))
},
},
Expand Down Expand Up @@ -1949,7 +1950,7 @@ func main() {
&cli.StringFlag{
Name: "a",
Value: "137.184.237.95",
Usage: "A record of domain",
Usage: "The A record of domain",
},
},
Action: func(c *cli.Context) error {
Expand Down

0 comments on commit 8c07a98

Please sign in to comment.