]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
rules.pl: Use ipset_exists() function to avoid loading the same set
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 14 Apr 2023 16:46:19 +0000 (18:46 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Mar 2024 11:56:03 +0000 (12:56 +0100)
commitad0bd8a49a6ad7a532064e64d714e5bd5a3f5a60
tree5e2a2d43d1865c2d04c50ff4f47499e77a0ef816
parentfe4b7fee694c25184ff09ffbc829d0c67b603cc2
rules.pl: Use ipset_exists() function to avoid loading the same set
multiple times.

Asking the kernel if a set is allready loaded/know is much smarter.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/rules.pl