Only use IPv4 address for network links for now

The iptables generation code for links depends on IPv4 addresses, make
the ResolveIP method use only IPv4 addresses for now.