]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
location-functions.pl: Add address_has_flag() function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 11 Sep 2020 12:52:30 +0000 (14:52 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 11 Sep 2020 12:52:30 +0000 (14:52 +0200)
commitfb616e7bbe50c790f3538fdbd03a6291bd7e28fe
tree0be6e597977163f1326635d5907eac75a05cb6a0
parent6aadd6881762f6c98aaea5bf42a2db0ca9a30399
location-functions.pl: Add address_has_flag() function.

This function can be used to check if a given address has
one of the known flags like "Anonymous Proxy".

If this is true, the mapped special country code will be returned.

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