]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/ipblocklist-functions.pl
ipblocklist: Add "v4" as extension to the ipset set names.
[ipfire-2.x.git] / config / cfgroot / ipblocklist-functions.pl
index f0e5ff73f1c5b7788fed6757f55b88ec4a376f9d..ecabf42e859abeb189c46279ebffc6e3114d357e 100644 (file)
@@ -249,6 +249,9 @@ sub download_and_create_blocklist($) {
        # Simply set the limit of list elements to the double of current list elements.
        my $maxelem = $list_entries *2;
 
+       # Add "v4" suffix to the list name.
+       $list = "$list" . "v4";
+
        # Write line to create the set.
        #
        # We safely can use hash:net as type because it supports single addresses and networks.