Skip to content

fix tproxy unmarshaling, add tests - #371

Open
NoobsEnslaver wants to merge 2 commits into
google:mainfrom
NoobsEnslaver:fix-tproxy
Open

NoobsEnslaver wants to merge 2 commits into
google:mainfrom
NoobsEnslaver:fix-tproxy

Conversation

@NoobsEnslaver

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request registers the 'tproxy' expression in exprFromName, fixes the parsing of NFTA_TPROXY_FAMILY to decode as a uint32 cast to a byte, and adds a comprehensive test suite for TProxy. The review feedback suggests improving the test suite by incorporating the family name into the subtest names to prevent duplicate subtest names and make test failures easier to diagnose.

Comment thread expr/tproxy_test.go
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.

1 participant