Make gopher respect ip
authorRin Toshaka <rinpatch@sdf.org>
Fri, 7 Dec 2018 18:21:58 +0000 (19:21 +0100)
committerRin Toshaka <rinpatch@sdf.org>
Fri, 7 Dec 2018 18:21:58 +0000 (19:21 +0100)
lib/pleroma/gopher/server.ex

index 3b0569a99396beee2080614904cd745570cf4308..4d582ef25f20918ddaad6edc857d910ec743dc61 100644 (file)
@@ -22,7 +22,7 @@ defmodule Pleroma.Gopher.Server do
       :gopher,
       100,
       :ranch_tcp,
-      [port: port],
+      [ip: ip, port: port],
       __MODULE__.ProtocolHandler,
       []
     )