Skip to content

[bugfix] Fix broken interface autodetection and matching logic#425

Merged
fako1024 merged 3 commits intomainfrom
421-move-interface-autodetection-out-of-the-interfaces-config-block-fix
Dec 7, 2025
Merged

[bugfix] Fix broken interface autodetection and matching logic#425
fako1024 merged 3 commits intomainfrom
421-move-interface-autodetection-out-of-the-interfaces-config-block-fix

Conversation

@fako1024
Copy link
Collaborator

@fako1024 fako1024 commented Dec 6, 2025

Addresses several issues introduced with recent refactoring (partly caused by AI I suspect 😉):

  • Fix positive interface [regexp] matching for IfaceConfig (was not being executed properly)
  • Fix negative interface [regexp] exclusion for autodetection (was still trying to establish logic based on IfaceConfig instances no longer existing)
  • Introduce config validation steps for autodetection logic
  • Fix tests to actually test the relocated autodetection logic
  • Removed some redundant tracking of autodetection in duplicate CaptureManager struct members

Also:

  • Drive-by: Hopefully fix the version tagging in [Docker] builds
  • Drive-by: Address some Linter-found issues (maybe Linter wasn't run properly on introduced viper / cobra code)

Closes #421

@fako1024 fako1024 requested a review from els0r December 6, 2025 13:56
@fako1024 fako1024 self-assigned this Dec 6, 2025
@fako1024 fako1024 added the bug Something isn't working label Dec 6, 2025
@fako1024 fako1024 linked an issue Dec 6, 2025 that may be closed by this pull request
@els0r
Copy link
Owner

els0r commented Dec 7, 2025

The regex excludes round up the feature pretty nicely. Thanks!

@fako1024 fako1024 merged commit 0e017a4 into main Dec 7, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move interface autodetection out of the interfaces config block

2 participants