]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
rules.pl: Do not try to restore the same ipset multiple times.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 12 Feb 2022 14:20:43 +0000 (15:20 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 12 Feb 2022 14:20:43 +0000 (15:20 +0100)
commitad0e25e17c7403ee138608a7c288e93055e1fae4
tree701dfb422fff16f1c2634e2697df04177faebcc1
parent44ebe2ec28f08e749dfbad86a65ff9fe8b0aa515
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>
config/firewall/rules.pl