diff options
Diffstat (limited to 'src/mod_fail2ban.erl')
-rw-r--r-- | src/mod_fail2ban.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mod_fail2ban.erl b/src/mod_fail2ban.erl index b49773403..5e931853f 100644 --- a/src/mod_fail2ban.erl +++ b/src/mod_fail2ban.erl @@ -20,8 +20,9 @@ %%% You should have received a copy of the GNU General Public License along %%% with this program; if not, write to the Free Software Foundation, Inc., %%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - +%%% %%%------------------------------------------------------------------- + -module(mod_fail2ban). -behaviour(gen_mod). @@ -103,7 +104,8 @@ c2s_stream_started(#{ip := {Addr, _}} = State, _) -> %% gen_mod callbacks %%==================================================================== start(Host, Opts) -> - catch ets:new(failed_auth, [named_table, public]), + catch ets:new(failed_auth, [named_table, public, + {heir, erlang:group_leader(), none}]), gen_mod:start_child(?MODULE, Host, Opts). stop(Host) -> |