Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eycorsican committed Jun 15, 2019
1 parent 721df23 commit 6275309
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_d.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func init() {
args.addFlag(fUdpTimeout)
args.addFlag(fStats)

args.ExceptionApps = flag.String("exceptionApps", "", "Exception app list separated by commas")
args.ExceptionApps = flag.String("exceptionApps", "", "A list of exception apps separated by commas")
args.ExceptionSendThrough = flag.String("exceptionSendThrough", "192.168.1.101:0", "Exception send through address")

registerHandlerCreater("d", func() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_dns_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func init() {
args.DisableDnsCache = flag.Bool("disableDNSCache", false, "Disable DNS cache (SOCKS5 and Shadowsocks handler)")
args.DisableDnsCache = flag.Bool("disableDNSCache", false, "Disable DNS cache")

addPostFlagsInitFn(func() {
if *args.DisableDnsCache {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_fakedns.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func init() {
args.EnableFakeDns = flag.Bool("fakeDns", false, "Enable fake DNS (SOCKS and Shadowsocks handler)")
args.EnableFakeDns = flag.Bool("fakeDns", false, "Enable fake DNS")
args.FakeDnsMinIP = flag.String("fakeDnsMinIP", "172.255.0.0", "Minimum fake IP used by fake DNS")
args.FakeDnsMaxIP = flag.String("fakeDnsMaxIP", "172.255.255.255", "Maximum fake IP used by fake DNS")

Expand Down

0 comments on commit 6275309

Please sign in to comment.