diff options
Diffstat (limited to 'lib/web')
-rw-r--r-- | lib/web/httprouter.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/httprouter.ex b/lib/web/httprouter.ex index d37413d..57af9f9 100644 --- a/lib/web/httprouter.ex +++ b/lib/web/httprouter.ex @@ -22,7 +22,7 @@ defmodule SWeb.HTTPRouter do [ipstr, portstr] = String.split(conn.params["peer"], ":") {:ok, ip} = :inet.parse_address (to_charlist ipstr) {port, _} = Integer.parse portstr - SNet.Manager.add_peer(ip, port) + Shard.Manager.add_peer(ip, port) end main_page(conn) |