Skip to content

Conversation

@garethsb
Copy link
Contributor

On Linux, this helps because you see the familiar name in the log, e.g. eth0.

On Windows, it's not much use because if_indextoname returns a name like "ethernet_32778" that seems to be pretty meaningless. We have cpprest/host_utils.cpp code using the GetAdaptersAddresses API to get AdapterName, but not FriendlyName, already but we don't currently have any dependencies from the mdns library on the nmos-cpp library, so I didn't want to do add coupling just for this. For now, I think you can continue to use PowerShell Get-NetAdapter -InterfaceIndex N to look up interface index N.

Copy link
Collaborator

@lo-simon lo-simon left a comment

Choose a reason for hiding this comment

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

LGTM

@lo-simon lo-simon merged commit 5529066 into sony:master Jan 3, 2025
10 of 11 checks passed
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.

2 participants