openwisp-config icon indicating copy to clipboard operation
openwisp-config copied to clipboard

[bug] openwisp-get-address only works with IPv4

Open asdfjkluiop opened this issue 2 years ago • 2 comments

openwisp-get-address only returns IPv4 addresses, this results in a missing management address and ping monitoring failures on IPv6 only networks which causes devices to show critical health even though they're reachable and fully operational.

asdfjkluiop avatar Sep 08 '23 06:09 asdfjkluiop

Have you solved this? Patches are welcome.

nemesifier avatar Aug 19 '24 16:08 nemesifier

Have you solved this? Patches are welcome.

Yes. However, a small tweak could improve efficiency by reducing unnecessary delay in the process. Currently, if IPv4 is available, the system still checks for IPv6. Could just do them concurrently and reduce overall runtime.

Ammog-Warrier avatar Dec 15 '24 04:12 Ammog-Warrier