Skip to content

Conversation

@m-bdf
Copy link
Contributor

@m-bdf m-bdf commented Oct 28, 2025

After enabling monitor mode for an interface, automatically select its -mon variant if appropriate.

@martin-olivier
Copy link
Owner

Hello @m-bdf,

Maybe I am missing something but I do not see any functional change in your patch :)

@m-bdf
Copy link
Contributor Author

m-bdf commented Nov 6, 2025

The interface name returned by enable_monitor_mode isn't always the same as the one given as an argument, for instance it sometimes gets a "mon" suffix appended.

This patch makes connect_interface_select use the correct name by shadowing the iface variable after a successful call to enable_monitor_mode.

@martin-olivier martin-olivier self-requested a review November 17, 2025 20:47
@martin-olivier martin-olivier added the bug Something isn't working label Nov 17, 2025
@martin-olivier martin-olivier merged commit b6970b7 into martin-olivier:main Nov 18, 2025
3 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.

2 participants