change startcomment and comment so correct rules are flushed

pull/2860/head
Duncan Bellamy 2020-12-29 13:17:41 +00:00
parent ac2076ef4f
commit 5781675a7d
1 changed files with 2 additions and 2 deletions

View File

@ -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-<name>
# Option: mtikcomment
# Notes.: comment to use on routerOS (must be unique as used for ip address removal)
mtikcomment = %(startcomment)s-<name>-<ip>
mtikcomment = %(startcomment)s-<ip>
[Init]
name="%(__name__)s"