summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta_quagga_utils.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_quagga_utils.pl b/scripts/vyatta_quagga_utils.pl
index b6fe5ce2..c59bc87e 100755
--- a/scripts/vyatta_quagga_utils.pl
+++ b/scripts/vyatta_quagga_utils.pl
@@ -19,7 +19,7 @@ sub check_prefix_boundry {
my ($net, $network, $cidr);
$net = new NetAddr::IP $prefix;
- $network = $net->network();
+ $network = $net->network()->cidr();
$cidr = $net->cidr();
die "Your prefix must fall on a natural network boundry. ",