From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH 08/12] update-location-database: Export database to ipset compatible format now. Date: Mon, 14 Feb 2022 21:05:21 +0000 Message-ID: <9e3a31b8-e672-18f5-d169-2af74e76812d@ipfire.org> In-Reply-To: <20220214184257.2406-8-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7338229502169010686==" List-Id: --===============7338229502169010686== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Peter M=C3=BCller > 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 --===============7338229502169010686==--