Skip to content

[bug] Cannot get MAC address when interfaces have custom names #20

@joaoantoniocardoso

Description

@joaoantoniocardoso

The current method to get the interfaces uses the naming convention to guess available wired interfaces.

A known limitation of that method is that the user can rename the interfaces to (almost) anything they want, which would fail the current method.

To overcome this, the library could list the current interfaces instead of trying to guess them by their names, and then, filter them by their type (wired, wireless, etc.).

Might be useful: network-interface crate.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions