summaryrefslogtreecommitdiff
path: root/src/validators/ipv6-range
diff options
context:
space:
mode:
Diffstat (limited to 'src/validators/ipv6-range')
-rwxr-xr-xsrc/validators/ipv6-range1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validators/ipv6-range b/src/validators/ipv6-range
index 033b6461b..a3c401281 100755
--- a/src/validators/ipv6-range
+++ b/src/validators/ipv6-range
@@ -11,6 +11,7 @@ if __name__ == '__main__':
if re.search('([a-f0-9:]+:+)+[a-f0-9]+-([a-f0-9:]+:+)+[a-f0-9]+', ipv6_range):
for tmp in ipv6_range.split('-'):
if not is_ipv6(tmp):
+ print(f'Error: {ipv6_range} is not a valid IPv6 range')
sys.exit(1)
sys.exit(0)