From 5781675a7d8a8b9c48074d68ab9acd5964fc2368 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Tue, 29 Dec 2020 13:17:41 +0000 Subject: [PATCH] change startcomment and comment so correct rules are flushed --- config/action.d/mikrotik.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/action.d/mikrotik.conf b/config/action.d/mikrotik.conf index 0f029af5..300fde20 100644 --- a/config/action.d/mikrotik.conf +++ b/config/action.d/mikrotik.conf @@ -75,10 +75,10 @@ mtikhost = mtiklistname = Auto Fail2Ban # Option: startcomment # Notes.: used as a prefix to all comments, and used to match for flushing rules -startcomment = AutoF2B +startcomment = f2b- # Option: mtikcomment # Notes.: comment to use on routerOS (must be unique as used for ip address removal) -mtikcomment = %(startcomment)s-- +mtikcomment = %(startcomment)s- [Init] name="%(__name__)s"