diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index e5c3373..b71c54d 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -86,6 +86,11 @@ sub write_rules { $config->setLevel('load-balancing wan rule'); + if ($config->exists("$rule exclude")) { + $valid = "true"; + print FILE_LCK "\texclude\n"; + } + my $protocol = $config->returnValue("$rule protocol"); if (defined $protocol) { print FILE_LCK "\tprotocol " . $protocol . "\n" |