From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 08/12] update-location-database: Export database to ipset compatible format now. Date: Tue, 15 Feb 2022 12:39:54 +0000 Message-ID: <1F7B45F8-A9C4-4600-9769-50844DF0EA7F@ipfire.org> In-Reply-To: <20220214184257.2406-8-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4455364805861265420==" List-Id: --===============4455364805861265420== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 14 Feb 2022, at 18:42, Stefan Schantl wrot= e: >=20 > Signed-off-by: Stefan Schantl > --- > src/scripts/update-location-database | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/src/scripts/update-location-database b/src/scripts/update-loca= tion-database > index 06b22d101..d41a0a947 100644 > --- a/src/scripts/update-location-database > +++ b/src/scripts/update-location-database > @@ -42,8 +42,8 @@ fi >=20 > # Get the latest location database from server. > if /usr/bin/location update --cron=3D$UPDATE_INTERVAL; then > - # Call location and export all countries in xt_geoip compatible format. > - if /usr/bin/location export --directory=3D/usr/share/xt_geoip --family=3D= ipv4 --format=3Dxt_geoip; then > + # Call location and export all countries in an ipset compatible format. > + if /usr/bin/location export --directory=3D/var/lib/location/ipset --famil= y=3Dipv4 --format=3Dipset; then >=20 > # Call initscript to reload the firewall. > /etc/init.d/firewall reload > --=20 > 2.30.2 >=20 --===============4455364805861265420==--