]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ipset-functions.pl: Proper map add_to_set() to the correct add function
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 22 Apr 2023 07:32:09 +0000 (09:32 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 22 Apr 2023 07:32:09 +0000 (09:32 +0200)
commit9071f066046108e30b5d08da6080f636eff99e66
tree681aea579949433620913304adf75fab6f618b3e
parent085b27ee8d6563479b9fa85d19322297c5b52e29
ipset-functions.pl: Proper map add_to_set() to the correct add function

Use a hash to map to the correct function to call for adding elements,
to a set, based on the given and detected data.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ipset-functions.pl