Browse Source

fix actionban/unban ip definition syntax

pull/2254/head
Ririsoft 6 years ago committed by sebres
parent
commit
dde51b4682
  1. 4
      config/action.d/nftables-common.conf

4
config/action.d/nftables-common.conf

@ -65,7 +65,7 @@ actioncheck = <nftables> list chain <table_family> f2b-table f2b-chain | grep -q
# Tags: See jail.conf(5) man page
# Values: CMD
#
actionban = <nftables> add element <table_family> f2b-table <addr_set> <ip>
actionban = <nftables> add element <table_family> f2b-table <addr_set> { <ip> }
# Option: actionunban
# Notes.: command executed when unbanning an IP. Take care that the
@ -73,7 +73,7 @@ actionban = <nftables> add element <table_family> f2b-table <addr_set> <ip>
# Tags: See jail.conf(5) man page
# Values: CMD
#
actionunban = <nftables> delete element <table_family> f2b-table <addr_set> <ip>
actionunban = <nftables> delete element <table_family> f2b-table <addr_set> { <ip> }
[Init]

Loading…
Cancel
Save