I am trying to check that the NetworkInteface like wlan0 and eth0 is IpV4,IPV6 is enable or not, Ipv6 function:
while (en.hasMoreElements()) {