diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-10 16:58:13 -0700 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-10 16:58:13 -0700 |
commit | 98982243bb131c56f94f4bbcf89a58499fe27694 (patch) | |
tree | a75c8d8077a239435c66e8f2767526840c62ed0e /scripts | |
parent | 5510da8abc49783dc9b5b4f49577c668d3cb88fa (diff) | |
download | vyatta-wanloadbalance-98982243bb131c56f94f4bbcf89a58499fe27694.tar.gz vyatta-wanloadbalance-98982243bb131c56f94f4bbcf89a58499fe27694.zip |
modified prerouting decisions to work with connmark. user needs to specify inbound interface now (although
this isn't currently required).
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index 2c64a5e..2339ec5 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -160,6 +160,12 @@ sub write_rules { } print FILE_LCK "\t}\n"; + #inbound-interface + $option = $config->returnValue("$rule inbound-interface"); + if (defined $option) { + print FILE_LCK "\tinbound-interface " . $option . "\n" + } + #interface $config->setLevel("load-balancing wan rule $rule interface"); my @eths = $config->listNodes(); |