]> git.ipfire.org Git - ipfire-2.x.git/commit
location-functions.pl: Add address_has_flag() function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 22 Sep 2020 18:25:01 +0000 (20:25 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Sep 2020 17:36:38 +0000 (17:36 +0000)
commitd443f504aabe31a0961c3eddff368364964e8e3e
tree88cf774ad30e5cfbfad23924b4be3b95b72e41e6
parentb868abd251279400b74afecb28401c701f67b2d5
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/location-functions.pl