summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-03-21 11:50:59 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-03-21 11:50:59 -0700
commitbc92b1ef9d79ec9f25b2abd471ec9dd1da912ab3 (patch)
tree2a211daf184e572e83f5e4bfa046ff13c095b9bf /scripts
parent1693cdf87f883464a10d4a91bdc32e8a595444a2 (diff)
downloadvyatta-wanloadbalance-bc92b1ef9d79ec9f25b2abd471ec9dd1da912ab3.tar.gz
vyatta-wanloadbalance-bc92b1ef9d79ec9f25b2abd471ec9dd1da912ab3.zip
removed network from configuration. changed configuration error without valid rule to warning. fixed up path to iptables for status show command.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-wanloadbalance.pl4
1 files changed, 3 insertions, 1 deletions
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;
}