]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
rules.pl: Do not try to restore the same ipset multiple times.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 14 Feb 2022 18:42:53 +0000 (19:42 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 15 Feb 2022 18:07:22 +0000 (18:07 +0000)
commit278289690d50d6f28926742e29f5b005293132eb
tree8fa42b6be3d30462067a452dd80f3d03040ac65e
parentedad13b46b864150f49dcb42580a4ebcf35ca3f0
rules.pl: Do not try to restore the same ipset multiple times.

When an ipset list get restored, this now will be documented in a hash
and this hash also will be checked before restoring a list if this has
not be done previously.

This will prevent from restoring the same list multiple times.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
config/firewall/rules.pl