Added an icmp ping output.
remove variable not used.
Fix the display of the firewall warning.
Use local ipv6 addresse if no ipv4 found.

this fix a bug in Windows when no ipv4 are there.

I don't know what happen if the global ip is also ipv6...