summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Vyatta/TypeChecker.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Vyatta/TypeChecker.pm b/lib/Vyatta/TypeChecker.pm
index d6c470d..321e9f9 100755
--- a/lib/Vyatta/TypeChecker.pm
+++ b/lib/Vyatta/TypeChecker.pm
@@ -223,13 +223,11 @@ sub validate_ipv6net {
my $ipv6_addr = $1;
my $prefix_length = $2;
if ($prefix_length < 0 || $prefix_length > 128) {
- print "Invalid prefix length: $prefix_length\n";
return 0;
}
return validate_ipv6($ipv6_addr);
} else {
- print "\"$value\" is not a valid IPv6 prefix\n";
return 0;
}
}