summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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;
}