Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not return mac address if cable is unplugged. #41

Open
zoell opened this issue May 3, 2023 · 0 comments
Open

Does not return mac address if cable is unplugged. #41

zoell opened this issue May 3, 2023 · 0 comments
Assignees

Comments

@zoell
Copy link

zoell commented May 3, 2023

On Windows 10, if the network cable is unplugged it won't return back that interface.

This is a known issue with the Node.js os.networkInterfaces:
nodejs/node#498

In windows if I do ipconfig /all it returns even those interfaces where the cable is unplugged.

What I tried:
macaddress.all(function (err, macs) {
});

Here macs won't contain the one without a plugged cable.

@scravy scravy self-assigned this May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants