]> 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>
Sun, 3 Mar 2024 11:56:03 +0000 (12:56 +0100)
commitcf8fab4b7660edc8a1a09d27a749c8e2cd34391e
tree71a9b52d986cca600951b82b0476d0fddbb9269e
parentee7d85040f8b8445f21e18186d5f3767ab86ba1c
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