]> git.ipfire.org Git - ipfire-2.x.git/commit - config/firewall/rules.pl
rules.pl: Adjust check against loading the same lists multiple times.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 17 Feb 2022 05:40:03 +0000 (06:40 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 17 Feb 2022 19:32:42 +0000 (19:32 +0000)
commitbae9b5dcca5aacabab861d4584288cb4ba7fd0c1
treedacf546cd758958f420dac9c97dd80a2ad38488c
parentb67cf71b2de584df24faf4765f2c0647b713003f
rules.pl: Adjust check against loading the same lists multiple times.

This check now has been moved to the ipset_restore() function, which
will help to keep the code clean and maintain-able.

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