Skip to content

fix get_interface_info_wmi returning the default gateway as "broadcast" (#68692)#68693

Closed
hurzhurz wants to merge 1 commit intosaltstack:3006.xfrom
hurzhurz:3006.x-win_interfaces
Closed

fix get_interface_info_wmi returning the default gateway as "broadcast" (#68692)#68693
hurzhurz wants to merge 1 commit intosaltstack:3006.xfrom
hurzhurz:3006.x-win_interfaces

Conversation

@hurzhurz
Copy link
Contributor

@hurzhurz hurzhurz commented Feb 6, 2026

What does this PR do?

Trivial and obvious change/fix for salt.utils.win_network.get_interface_info_wmi().

What issues does this PR fix or reference?

Fixes #68692

@bdrx312
Copy link
Contributor

bdrx312 commented Feb 8, 2026

This appears to be fixing the same issue as #68696, but that PR is actually adding the broadcast value too and has some tests added.

@twangboy
Copy link
Contributor

This will also need a test

@hurzhurz
Copy link
Contributor Author

This will also need a test

Shure, please go ahead :)

I didn't bother writing a test because it didn't bug anyone that there was none related before and I didn't even change any logic.
Also I have no development environment for Windows at hand where I can run tests.

Well and to be honest, after someone else created a whole bunch of PRs (maybe with AI?), also another PR based on my finding, I'm not motivated to do any more work on this...

@twangboy
Copy link
Contributor

Closing in favor of #68696

@twangboy twangboy closed this Feb 11, 2026
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

Comments