Skip to content

Commit

Permalink
util/linuxfw: fix table name in DelStatefulRule
Browse files Browse the repository at this point in the history
Updates #12061
Follow-up to #12072

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I2ba8c4bff14d93816760ff5eaa1a16f17bad13c1
(cherry picked from commit 25e32cc)
  • Loading branch information
andrew-d authored and awly committed May 9, 2024
1 parent b10ee74 commit d904990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/linuxfw/nftables_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit d904990

Please sign in to comment.