Skip to content

iptables_test: fix ListWithCounters mismatch on newer kernels to fix CI#104

Merged
bgilbert merged 3 commits intocoreos:mainfrom
bgilbert:tests
Jun 1, 2023
Merged

iptables_test: fix ListWithCounters mismatch on newer kernels to fix CI#104
bgilbert merged 3 commits intocoreos:mainfrom
bgilbert:tests

Conversation

@bgilbert
Copy link
Contributor

@bgilbert bgilbert commented Jun 1, 2023

Current nf_tables apparently uses the -c 0 0 -j ACCEPT ordering for table entries. Rather than trying to guess which order we'll get, accept either one.

bgilbert added 3 commits June 1, 2023 00:22
It's been unnecessary since Go 1.10:

    golang/go#41696
Current nf_tables apparently uses the "-c 0 0 -j ACCEPT" ordering for
table entries.  Rather than trying to guess which order we'll get, accept
either one.
@bgilbert bgilbert requested a review from dustymabe June 1, 2023 04:45
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bgilbert bgilbert merged commit cca2130 into coreos:main Jun 1, 2023
@bgilbert bgilbert deleted the tests branch June 1, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants