location-importer.in: Add country code for AWS's "il-central-1" zone

Message ID ca50e1bd-3960-c48b-bcdd-f450514b0a77@ipfire.org
State Accepted
Commit ad0179473e79d5de30b0c0ea255378e96676b9e7
Headers
Series location-importer.in: Add country code for AWS's "il-central-1" zone |

Commit Message

Peter Müller Feb. 11, 2022, 9:57 a.m. UTC
  Reported-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/python/location-importer.in | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Michael Tremer Feb. 11, 2022, 10:44 a.m. UTC | #1
Thank you.

> On 11 Feb 2022, at 09:57, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> Reported-by: Michael Tremer <michael.tremer@ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> src/python/location-importer.in | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/src/python/location-importer.in b/src/python/location-importer.in
> index 118b0de..63f7be5 100644
> --- a/src/python/location-importer.in
> +++ b/src/python/location-importer.in
> @@ -1228,6 +1228,7 @@ class CLI(object):
> 				"eu-south-2": "ES",
> 				"eu-west-3": "FR",
> 				"eu-north-1": "SE",
> +				"il-central-1": "IL", # XXX: This one is not documented anywhere except for ip-ranges.json itself
> 				"me-central-1": "AE",
> 				"me-south-1": "BH",
> 				"sa-east-1": "BR"
> -- 
> 2.34.1
  

Patch

diff --git a/src/python/location-importer.in b/src/python/location-importer.in
index 118b0de..63f7be5 100644
--- a/src/python/location-importer.in
+++ b/src/python/location-importer.in
@@ -1228,6 +1228,7 @@  class CLI(object):
 				"eu-south-2": "ES",
 				"eu-west-3": "FR",
 				"eu-north-1": "SE",
+				"il-central-1": "IL", # XXX: This one is not documented anywhere except for ip-ranges.json itself
 				"me-central-1": "AE",
 				"me-south-1": "BH",
 				"sa-east-1": "BR"