From 74ea1a0f5ae0adeba7e346ab4e68dd82837d7ae8 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 5 Aug 2024 14:01:27 +0000 Subject: [PATCH] hotfix(firewall): prefer ip6tables (nft) instead of ip6tables-legacy --- 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 e0095c02..613225b4 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-legacy", "ip6tables", "ip6tables-nft") + ip6tablesPath, err = checkIptablesSupport(ctx, runner, "ip6tables", "ip6tables-nft", "ip6tables-legacy") if errors.Is(err, ErrIPTablesNotSupported) { return "", nil } else if err != nil {