summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-22 19:46:00 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-22 19:46:00 -0800
commit3152f068317b7e52420a05ec8a2bdf3ef97ff6d6 (patch)
tree60877ea048439a1a74454b1f64a1ed594e2497be
parent0d72ffd25eefd2636c5e5660ddca97fdf67b75f7 (diff)
downloadvyatta-wanloadbalance-3152f068317b7e52420a05ec8a2bdf3ef97ff6d6.tar.gz
vyatta-wanloadbalance-3152f068317b7e52420a05ec8a2bdf3ef97ff6d6.zip
critical fix for bug 2882 :)
Now reads "Wan load balancing is not configured" The reason why this stipulates "Wan load balancing" instead of the requested "Load balancing" is that other types of load balancing are expected to be implemented as children under the load-balancing node in the configuration.
-rw-r--r--templates/show/wan-load-balance/node.def2
-rw-r--r--templates/show/wan-load-balance/status/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/wan-load-balance/node.def b/templates/show/wan-load-balance/node.def
index 5c54a9e..37c2954 100644
--- a/templates/show/wan-load-balance/node.def
+++ b/templates/show/wan-load-balance/node.def
@@ -2,7 +2,7 @@ help: Show wan load-balancing status
run: if [ -f /var/load-balance/wlb.out ] ; then
cat /var/load-balance/wlb.out
else
- echo wan load-balance is not configured
+ echo Wan load balancing is not configured
fi
diff --git a/templates/show/wan-load-balance/status/node.def b/templates/show/wan-load-balance/status/node.def
index 1bcc587..c73fcf9 100644
--- a/templates/show/wan-load-balance/status/node.def
+++ b/templates/show/wan-load-balance/status/node.def
@@ -2,6 +2,6 @@ help: Show wan load-balancing statistics
run: if [ -f /var/load-balance/wlb.out ] ; then
sudo ${vyatta_bindir}/sudo-users/iptables -L PREROUTING -t mangle -vv
else
- echo wan load-balance is not configured
+ echo Wan load balancing is not configured
fi