util/linuxfw: fix table name in DelStatefulRule

Updates #12061
Follow-up to #12072

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I2ba8c4bff14d93816760ff5eaa1a16f17bad13c1
This commit is contained in:
Andrew Dunham 2024-05-09 13:32:39 -04:00
parent 21abb7f402
commit 25e32cc3ae
1 changed files with 1 additions and 1 deletions

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,
})