]> git.ipfire.org Git - ipfire-2.x.git/commit
firewall-lib.pl: Populate GeoIP rules only if location is available.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 16 Apr 2019 19:08:05 +0000 (21:08 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 29 Oct 2019 13:23:43 +0000 (13:23 +0000)
commitdba780a78460ff19ba0f332ed4cab7b1db321af2
treeb1b323f3b0c3c5881bffb114f57795548dfc6a9a
parent75612f0644da16bc26cd2f7f0483ba73ae741404
firewall-lib.pl: Populate GeoIP rules only if location is available.

In case a GeoIP related firewall rule should be created, the script
now will check if the given location is still available.

Fixes #12054.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/firewall/firewall-lib.pl