fix example

fix #49
This commit is contained in:
ppom 2023-11-29 12:00:00 +01:00
parent 4927460af7
commit a132c3052a

View File

@ -2,11 +2,11 @@
local banFor(time) = { local banFor(time) = {
ban: { ban: {
cmd: ['ip46tables', '-w', '-A', 'reaction', '-s', '<ip>', '-j', 'reaction-log-refuse'], cmd: ['ip46tables', '-w', '-A', 'reaction', '-s', '<ip>', '-j', 'DROP'],
}, },
unban: { unban: {
after: time, after: time,
cmd: ['ip46tables', '-w', '-D', 'reaction', '-s', '<ip>', '-j', 'reaction-log-refuse'], cmd: ['ip46tables', '-w', '-D', 'reaction', '-s', '<ip>', '-j', 'DROP'],
}, },
}; };