aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRob Hunter2011-03-01 23:50:27 +1100
committerAdam Vandenberg2011-03-01 08:09:25 -0800
commit30c5567cf015ac4786e86c63115e4703070f5538 (patch)
tree42914171951ff231bdae09de7955cd7192cb0d49 /Library/Formula
parent03a0687e59b0f860a7fb1843af07a902f737b6be (diff)
downloadhomebrew-30c5567cf015ac4786e86c63115e4703070f5538.tar.bz2
memcached listens on 'localhost' (ipv4 and ipv6)
Some client libraries (at least Ruby's 'dalli') tried to connect to localhost, which resolved to IPv6 first, which wasn't listening. Listening to 'localhost' seems to cover anything listed in /etc/hosts. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/memcached.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb
index 5d67931ee..31942fee0 100644
--- a/Library/Formula/memcached.rb
+++ b/Library/Formula/memcached.rb
@@ -49,7 +49,7 @@ Add "-d" to start it as a daemon.
<array>
<string>#{HOMEBREW_PREFIX}/bin/memcached</string>
<string>-l</string>
- <string>127.0.0.1</string>
+ <string>localhost</string>
</array>
<key>RunAtLoad</key>
<true/>