summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-08-31 16:18:49 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-08-31 16:18:49 -0700
commit7a579b37645ff7f327c3a815aaaac50e0151bf3d (patch)
tree6de013b398ae11ee0fb3ccba45f14d73cd283af2
parentd5235eb8d96c9f974d4f5f3f0af2197d9c734334 (diff)
downloadvyatta-wanloadbalance-7a579b37645ff7f327c3a815aaaac50e0151bf3d.tar.gz
vyatta-wanloadbalance-7a579b37645ff7f327c3a815aaaac50e0151bf3d.zip
fix following changes associated with bug 6125
-rw-r--r--src/lbdecision.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 468b766..8774189 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -120,7 +120,7 @@ if so then this stuff goes here!
execute(string("iptables -t raw -D PREROUTING -j WLB_CONNTRACK"), stdout);
- int index = find_iptables_index("raw","PREROUTING","VYATTA_PRE_CT_PREROUTING_HOOK");
+ int index = find_iptables_index("raw","PREROUTING","VYATTA_CT_PREROUTING_HOOK");
++index;
sprintf(buf,"%d",index);
execute(string("iptables -t raw -I PREROUTING ") + buf + " -j WLB_CONNTRACK", stdout);
@@ -129,7 +129,7 @@ if so then this stuff goes here!
if (lbdata._enable_local_traffic == true) {
execute(string("iptables -t raw -D OUTPUT -j WLB_CONNTRACK"), stdout);
- int index = find_iptables_index("raw","OUTPUT","VYATTA_PRE_CT_OUTPUT_HOOK");
+ int index = find_iptables_index("raw","OUTPUT","VYATTA_CT_OUTPUT_HOOK");
++index;
sprintf(buf,"%d",index);
execute(string("iptables -t raw -I OUTPUT ") + buf + " -j WLB_CONNTRACK", stdout);