tracker: Pass listen address into tracker.Server.Serve()

This commit is contained in:
Justin Li
2015-02-21 13:16:21 -05:00
parent f98c675bc7
commit 669128c83a
4 changed files with 12 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ func Boot() {
go func() {
defer wg.Done()
srv.Serve()
srv.Serve(cfg.HTTPListenAddr)
}()
}
@@ -102,7 +102,7 @@ func Boot() {
go func() {
defer wg.Done()
srv.Serve()
srv.Serve(cfg.UDPListenAddr)
}()
}