From 06c9bc55d3c82f0951610da1188a65d077afa3ef Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 8 Jul 2024 08:57:54 +0000 Subject: [PATCH] hotfix(firewall): prefer using ip6tables-legacy - Fixes issue #2334 --- internal/firewall/ip6tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/firewall/ip6tables.go b/internal/firewall/ip6tables.go index 613225b4..e0095c02 100644 --- a/internal/firewall/ip6tables.go +++ b/internal/firewall/ip6tables.go @@ -15,7 +15,7 @@ import ( // empty string path is returned. func findIP6tablesSupported(ctx context.Context, runner command.Runner) ( ip6tablesPath string, err error) { - ip6tablesPath, err = checkIptablesSupport(ctx, runner, "ip6tables", "ip6tables-nft", "ip6tables-legacy") + ip6tablesPath, err = checkIptablesSupport(ctx, runner, "ip6tables-legacy", "ip6tables", "ip6tables-nft") if errors.Is(err, ErrIPTablesNotSupported) { return "", nil } else if err != nil {