util/linuxfw: fix table name in DelStatefulRule

Updates #12061
Follow-up to #12072

Signed-off-by: Andrew Dunham <[email protected]>
Change-Id: I2ba8c4bff14d93816760ff5eaa1a16f17bad13c1
(cherry picked from commit 25e32cc3ae)
This commit is contained in:
Andrew Dunham authored and Andrew Lytvynov committed 2024-05-09 10:46:30 -07:00
1 parent b10ee74e24
commit d904990c14
1 file changed
+1 -1
+1 -1
View File
@@ -1926,7 +1926,7 @@ func (n *nftablesRunner) DelStatefulRule(tunname string) error {
return fmt.Errorf("get forward chain: %w", err)
}
rule, err := findRule(conn, &nftables.Rule{
Table: table.Nat,
Table: table.Filter,
Chain: chain,
Exprs: exprs,
})