From c1c9ee07a9da86ac780d17ea47a94ab3f189be7a Mon Sep 17 00:00:00 2001 From: Justin Li Date: Thu, 24 Jul 2014 17:08:08 -0400 Subject: [PATCH] Listen on all interfaces by default [ci skip] --- config/config.go | 2 +- example.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 28afdc6..62203a5 100644 --- a/config/config.go +++ b/config/config.go @@ -81,7 +81,7 @@ type Config struct { // DefaultConfig is a configuration that can be used as a fallback value. var DefaultConfig = Config{ - Addr: "127.0.0.1:6881", + Addr: ":6881", Tracker: DriverConfig{ Name: "memory", diff --git a/example.json b/example.json index ddfa196..83e8912 100644 --- a/example.json +++ b/example.json @@ -1,6 +1,6 @@ { "network": "tcp", - "addr": "127.0.0.1:6881", + "addr": ":6881", "tracker": { "driver": "memory"