node-macaddress
node-macaddress copied to clipboard
Does not return mac address if cable is unplugged.
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: https://github.com/nodejs/node/issues/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.