SNMP add ipv6 device is not working if associate ipv4 is blocking icmp

LibreNMS version [22.5.0-5-g3b255edc3 - Tue May 24 2022 14:48:19 GMT+0200]

While adding an snmp capable device which has ipv4 and ipv6 but ipv4 IP is not responding to icmp, adding the device failed with message “No ping response (Public IPv4 address)”. Same result if I try the poller.php or snmpwalk.

I think you should add an option “only ipv6” or “prefer ipv6” to avoid this problem