summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-06-22 09:01:35 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-06-22 09:01:35 -0700
commit269bd94265d3865051a60340f87412a88575d60e (patch)
tree7a29ed18c92b87a2416dc9593ac8fd7d6c8c7139 /scripts
parent0d5777b96fec7e16dbcf2a96b285dc0ed493a34c (diff)
downloadvyatta-wanloadbalance-269bd94265d3865051a60340f87412a88575d60e.tar.gz
vyatta-wanloadbalance-269bd94265d3865051a60340f87412a88575d60e.zip
fix for bug 4624. source port configuration was incorrectly configured.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-wanloadbalance.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl
index 38ed5b5..1333be1 100644
--- a/scripts/vyatta-wanloadbalance.pl
+++ b/scripts/vyatta-wanloadbalance.pl
@@ -180,7 +180,7 @@ sub write_rules {
if ($protocol eq "tcp" || $protocol eq "udp") {
$can_use_port = "yes";
}
- ($port_str, $port_err) = Vyatta::Misc::getPortRuleString($option, $can_use_port, "d", $protocol);
+ ($port_str, $port_err) = Vyatta::Misc::getPortRuleString($option, $can_use_port, "s", $protocol);
if (defined $port_str) {
print FILE_LCK "\t\tport-ipt \"" . $port_str . "\"\n";
}