Skip to content

Commit

Permalink
change default local binding to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Apr 13, 2014
1 parent e86794b commit 0c789ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/shadowsocks/local.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/local.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ inetAton = (ipStr) ->

connections = 0

createServer = (serverAddr, serverPort, port, key, method, timeout, local_address=null) ->
createServer = (serverAddr, serverPort, port, key, method, timeout, local_address='127.0.0.1') ->

udpServer = udpRelay.createServer(local_address, port, serverAddr, serverPort, key, method, timeout, true)

Expand Down

0 comments on commit 0c789ea

Please sign in to comment.