From bc92b1ef9d79ec9f25b2abd471ec9dd1da912ab3 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 21 Mar 2008 11:50:59 -0700 Subject: removed network from configuration. changed configuration error without valid rule to warning. fixed up path to iptables for status show command. --- scripts/vyatta-wanloadbalance.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index 69fadcd..d1fd78f 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -175,7 +175,9 @@ sub write_rules { } if ($valid eq "false") { - print "At least one interface must be configured for a rule to be valid\n"; + print "At least one rule with interface must be defined for wan load balancing to be active\n"; + #allow this configuration, just generate the warning + return "true"; } return $valid; } -- cgit v1.2.3