Defaults IP to 0.0.0.0

This commit is contained in:
Arnaldo Mendonca
2015-11-09 23:25:16 -02:00
parent eedf754137
commit faa0895225

View File

@@ -134,7 +134,7 @@ func setConfig() {
config.Port = "2224" config.Port = "2224"
} }
if config.IP == "" { if config.IP == "" {
config.IP = "127.0.0.1" config.IP = "0.0.0.0"
} }
} }