]> git.ipfire.org Git - ipfire-2.x.git/commit
ipblocklist-functions.pl: Allow downloading empty blocklists
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 24 May 2025 08:14:36 +0000 (10:14 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 25 May 2025 11:58:04 +0000 (11:58 +0000)
commit476277d0febf510489c314bc950f91ec6efb717b
treeac3b9492e06197c5964a801f4d4bd821da9a1140
parentd58f2de9efd78285b82940ab516dfbbe3d152e3b
ipblocklist-functions.pl: Allow downloading empty blocklists

Some blocklist providers does serve blocklists for current events or
with very limited updates. Therefore there is a chance such a blocklist
could be empty for a certain time.

This patch allows to replace an existing filled blocklist by an empty
one and vice versa.

Fixes #13804.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/ipblocklist-functions.pl