Closed JianZhou12345678 closed 5 months ago
Thanks for reporting! I will be checking this later when I get access to a windows machine. Currently the information is reported by windows tooling, maybe I am parsing it wrong.
I was able to reproduce the mac. addr bug. Will look into it. For ipv6, do you have the latest version? Someone else had the same issue.
@JianZhou12345678 I fixed the display of the mac addr. in version 0.0.20, which should hit pypi soon. I will investigate for the ivp6 since the windows API seems to be more convoluted to get to the information.
@SamuelYvon Thanks for your response, if possible, I hope use netifaces2 library can show the same informations as the netifaces library, eg: It can display both the IPv4 and IPv6 addresses of the network card
Yep, that's the goal, haven't gotten around to it yet.
Hi @JianZhou12345678 ! Just a little update. I have a PR ready on branch https://github.com/SamuelYvon/netifaces-2/pull/23. I am also testing another fix at the same time, so I won't deploy right away. If you want, you can test right now. It does include Ipv6 information.
All fixed on latest :)
I installed netifaces2 on my windows10 64 bit, with python 3.7.6, when i get my network interface("Realtek PCIe GbE Family Controller"), i find mac address show abnormal and not show ipv6 address. I hope netifaces2 can show the same info as old lib netifaces.