one more attempt to fetch the ipaddresses
minor changes in the ran6 function
just minor addition at the top