From d46ec3a5550daabcf040cac65ff71b5721d51333 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Tue, 29 Dec 2020 15:30:32 +0100 Subject: [PATCH] add jail boundary to flush command for more precise targeting of jail (if some name may be equal to prefix of other name) --- config/action.d/mikrotik.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/action.d/mikrotik.conf b/config/action.d/mikrotik.conf index 300fde20..96262587 100644 --- a/config/action.d/mikrotik.conf +++ b/config/action.d/mikrotik.conf @@ -48,7 +48,7 @@ actionstart = actionstop = %(actionflush)s -actionflush = %(mtikcommand)s "/ip firewall address-list remove [find list=\"%(mtiklistname)s\" comment~\"%(startcomment)s*\"]" +actionflush = %(mtikcommand)s "/ip firewall address-list remove [find list=\"%(mtiklistname)s\" comment~\"%(startcomment)s-*\"]" actioncheck =