Skip to content

net_helper: fix function comment accuracy and VLAN break condition bug#30

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/check-function-comments
Draft

net_helper: fix function comment accuracy and VLAN break condition bug#30
Copilot wants to merge 3 commits intomasterfrom
copilot/check-function-comments

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 30, 2026

  • Write tests/unit/test-eth-vlan.c — standalone C unit test for sample_conv_eth_vlan exercising no-VLAN, single-VLAN, double-VLAN, truncated-header and regression cases
  • Write tests/unit/test-eth-vlan.sh — shell wrapper following HAProxy unit test conventions
  • Verified all 7 tests pass with the fixed condition
  • Verified all tests fail (single-vlan, double-vlan, regression) when the old buggy condition idx + 4 < data is used

Copilot AI linked an issue Mar 30, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Check relevance of function comments net_helper: fix function comment accuracy and VLAN break condition bug Mar 30, 2026
Copilot AI requested a review from chipitsine March 30, 2026 16:46
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.

check function comments

2 participants