]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
rules.pl: Add tiny ipset_restore function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 11 Feb 2022 20:26:31 +0000 (21:26 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 11 Feb 2022 20:26:31 +0000 (21:26 +0100)
commit273158d726383293b4dba4ce95cd6e1f92e90c7d
tree01a8e77d66c9a37ce0e4aa52a1fc32c9889287da
parent365f4b477b1a39cff07e6c74e0b3bf38c83a83d0
rules.pl: Add tiny ipset_restore function.

This helper function is used to load a previously exported list of
networks for a given country code into the ipset module, so it can be
used for any kind of firewall rules.

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