From 7a579b37645ff7f327c3a815aaaac50e0151bf3d Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 31 Aug 2010 16:18:49 -0700 Subject: fix following changes associated with bug 6125 --- src/lbdecision.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lbdecision.cc') 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); -- cgit v1.2.3