Skip to content

Commit

Permalink
hotfix(firewall): prefer using ip6tables-legacy
Browse files Browse the repository at this point in the history
- Fixes issue #2334
  • Loading branch information
qdm12 committed Jul 8, 2024
1 parent fe05521 commit 06c9bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/firewall/ip6tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 06c9bc5

Please sign in to comment.