summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2012-11-24 11:16:11 -0800
committerJames Davidson <james.davidson@vyatta.com>2012-11-24 11:27:08 -0800
commit70a696a768cb8d0fd1d5daaeff01610385880dff (patch)
treefb25e889e5f47be2cc1da3877421b34254ccd86c
parent6a53936d6e401f3c145bbf5745f5e1fbe0ad0bcf (diff)
downloadvyatta-cfg-quagga-70a696a768cb8d0fd1d5daaeff01610385880dff.tar.gz
vyatta-cfg-quagga-70a696a768cb8d0fd1d5daaeff01610385880dff.zip
Bugfix 7428: Update warning message text.
-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