This seems to become the default and so we should avoid making the
overrides file too verbose.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
networks.append(n)
- # Log a warning if not networks have been permitted
+ # If no networks have been specified, permit for everything
if not networks:
- log.warning("Geofeed %s is not permitted for any networks. Ignoring." % url)
- continue
+ networks = [
+ ipaddress.ip_network("::/0"),
+ ipaddress.ip_network("0.0.0.0/0"),
+ ]
# Check the URL
url = self._check_geofeed_url(url)