Skip to content

Commit

Permalink
Merge pull request joewalnes#234 from asergeyev/master
Browse files Browse the repository at this point in the history
Changed default for reverselookup option to false
  • Loading branch information
asergeyev committed Nov 1, 2016
2 parents ac4b25f + 4571c07 commit 98bd5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func parseCommandLine() *Config {

// lib config options
binaryFlag := flag.Bool("binary", false, "Set websocketd to experimental binary mode (default is line by line)")
reverseLookupFlag := flag.Bool("reverselookup", true, "Perform reverse DNS lookups on remote clients")
reverseLookupFlag := flag.Bool("reverselookup", false, "Perform reverse DNS lookups on remote clients")
scriptDirFlag := flag.String("dir", "", "Base directory for WebSocket scripts")
staticDirFlag := flag.String("staticdir", "", "Serve static content from this directory over HTTP")
cgiDirFlag := flag.String("cgidir", "", "Serve CGI scripts from this directory over HTTP")
Expand Down
2 changes: 1 addition & 1 deletion help.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Options:
Default: false
--reverselookup={true,false} Perform DNS reverse lookups on remote clients.
Default: true
Default: false
--dir=DIR Allow all scripts in the local directory
to be accessed as WebSockets. If using this,
Expand Down

0 comments on commit 98bd5b7

Please sign in to comment.