From 4fcf50e96627fe9c00a0786cead5a869715925ba Mon Sep 17 00:00:00 2001 From: veryflying Date: Wed, 24 Aug 2016 15:34:49 +0800 Subject: [PATCH] Modify the iptables.go to fix some bugs The parameter in line 73, `if err := p.configIPTables(false); err != nil {` should be `if err := p.configIPTables(true); err != nil {` --- ext/lb/haproxy/iptables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/lb/haproxy/iptables.go b/ext/lb/haproxy/iptables.go index 342d794e..7bdaf3df 100644 --- a/ext/lb/haproxy/iptables.go +++ b/ext/lb/haproxy/iptables.go @@ -70,7 +70,7 @@ func (p *HAProxyLoadBalancer) dropSYN() error { func (p *HAProxyLoadBalancer) resumeSYN() error { log().Debug("resuming SYN packets") - if err := p.configIPTables(false); err != nil { + if err := p.configIPTables(true); err != nil { return err }