do not destroy temp set on init
This commit is contained in:
parent
642905d0ff
commit
1680830f91
@ -57,7 +57,6 @@ for url in $urls; do
|
|||||||
hash_size=$(expr $new_list_size / 2)
|
hash_size=$(expr $new_list_size / 2)
|
||||||
|
|
||||||
# start writing new set file
|
# start writing new set file
|
||||||
echo "destroy ${tmp_set_name}" >>"${new_set_file}" # clean up any left overs
|
|
||||||
echo "create ${tmp_set_name} hash:net family inet hashsize ${hash_size} maxelem ${new_list_size}" >>"${new_set_file}"
|
echo "create ${tmp_set_name} hash:net family inet hashsize ${hash_size} maxelem ${new_list_size}" >>"${new_set_file}"
|
||||||
|
|
||||||
# convert list of IPs to ipset statements
|
# convert list of IPs to ipset statements
|
||||||
|
Loading…
Reference in New Issue
Block a user