openwisp-config
openwisp-config copied to clipboard
[bug] openwisp-get-address only works with IPv4
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.
Have you solved this? Patches are welcome.
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.