Remove duplicated chain add (#1444)

Remove duplicated chain add operation
This commit is contained in:
Zoltan Papp 2024-01-08 13:29:53 +01:00 committed by GitHub
parent 5de4acf2fe
commit 69dbcbd362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -735,7 +735,6 @@ func (m *AclManager) createPreroutingMangle() *nftables.Chain {
Chain: chain, Chain: chain,
Exprs: expressions, Exprs: expressions,
}) })
chain = m.rConn.AddChain(chain)
return chain return chain
} }