Commit ebb087cf authored by Peter Müller's avatar Peter Müller Committed by Michael Tremer

location-importer.in: avoid log spam for too small networks

Signed-off-by: default avatarPeter Müller <peter.mueller@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 84187ab5
......@@ -503,7 +503,7 @@ class CLI(object):
return False
if network.prefixlen > 24:
log.info("Skipping network too small to be publicly announced: %s" % network)
log.debug("Skipping network too small to be publicly announced: %s" % network)
return False
if str(network.network_address) == "0.0.0.0":
......@@ -516,7 +516,7 @@ class CLI(object):
return False
if network.prefixlen > 48:
log.info("Skipping network too small to be publicly announced: %s" % network)
log.debug("Skipping network too small to be publicly announced: %s" % network)
return False
if str(network.network_address) == "::":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment