summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-07-15 16:51:01 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-07-15 16:51:01 -0700
commitc1e5c748aac314a2f0652393fbb9f8c079055106 (patch)
tree16de9c920a033e07e87629c57cb1651973d28e2a /src
parentffe8546edce4f68121178657d4d17426eb0c7129 (diff)
downloadvyatta-wanloadbalance-c1e5c748aac314a2f0652393fbb9f8c079055106.tar.gz
vyatta-wanloadbalance-c1e5c748aac314a2f0652393fbb9f8c079055106.zip
fix for bug 4675. Throttle back the initial setting of nat rules during startup of wlb.
Conflicts: src/lbdecision.cc
Diffstat (limited to 'src')
-rw-r--r--src/lbdecision.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 6e0a6d1..e902c82 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -173,6 +173,7 @@ if so then this stuff goes here!
if (err == 0) {
iter->second._address = new_addr;
}
+ sleep(1); //when creating the first entry it appears that snat will kill an existing connection if multiple commands are issues too quickly
}
++iter;
}