sebhildebrandt / systeminformation

System Information Library for Node.JS
MIT License
2.7k stars 307 forks source link

si.networkInterfaces() does not list all the interfaces #903

Open narmatha291289 opened 5 months ago

narmatha291289 commented 5 months ago

Describe the bug The si.networkInterfaces() does not list all the interfaces present on the machine.

Reason Network interfaces are fetched using os.networkInterfaces(), but it is not listing all the interfaces. This issue is tracked in the Node.js repository: os.networkInterfaces does not list all interfaces.

Current Output There are 3 interfaces (lo - loopback interface, ens160 - active interface, ens192 - inactive interface) on the machine. However, only 2 interfaces (lo and ens160) are listed.

Expected behavior All 3 interfaces (lo, ens160, and ens192) should be listed.

Environment:

Additional Info

image