Grab the IP in a way that should work on more systems.

Tested on CentOS 5.x and Fedora 18 which have the following
formats:

CentOS 5.x w/ 2.6.18-194.el5PAE kernel, net-tools 1.60, & ifconfig 1.42

	inet addr:192.168.3.120  Bcast:192.168.3.255  Mask:255.255.255.0

Fedora 18

	inet 192.168.3.95  netmask 255.255.255.0  broadcast 192.168.3.255

The CentOS version seems to match what the command line was set up to
parse for, so this patch just makes it work for both formats.  Also
exclude the ::1 ipv6 loopback IP.