summaryrefslogtreecommitdiff
path: root/scripts/vyatta-gateway-static_route-check.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-gateway-static_route-check.pl')
-rwxr-xr-xscripts/vyatta-gateway-static_route-check.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-gateway-static_route-check.pl b/scripts/vyatta-gateway-static_route-check.pl
index ae64e8f7..4221b5fc 100755
--- a/scripts/vyatta-gateway-static_route-check.pl
+++ b/scripts/vyatta-gateway-static_route-check.pl
@@ -68,8 +68,8 @@ if ( ( $#ARGV == 1 ) && ( $ARGV[0] eq '0.0.0.0/0' ) ) {
my $haveStaticDefaultRoute = findStaticDefaultRoute($config);
if ($haveGatewayAddress && $haveStaticDefaultRoute) {
print "Warning:\n";
- print "Both a 'system gateway-address' and a protocols static default route\n";
- print "(0.0.0.0/0) are configured. This configuration is not recommended.\n";
+ print "Both 'system gateway-address' and 'protocols static route 0.0.0.0/0'\n";
+ print "are configured. This configuration is not recommended.\n";
}
} else {
# check when deleting gateway-address