From 25e32cc3ae2f98e9b11605394fe651e67e629576 Mon Sep 17 00:00:00 2001 From: Andrew Dunham Date: Thu, 9 May 2024 13:32:39 -0400 Subject: [PATCH] util/linuxfw: fix table name in DelStatefulRule Updates #12061 Follow-up to #12072 Signed-off-by: Andrew Dunham Change-Id: I2ba8c4bff14d93816760ff5eaa1a16f17bad13c1 --- util/linuxfw/nftables_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/linuxfw/nftables_runner.go b/util/linuxfw/nftables_runner.go index 3a205afd1..1bb508a98 100644 --- a/util/linuxfw/nftables_runner.go +++ b/util/linuxfw/nftables_runner.go @@ -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, })