Report IPv4 addresses as well as IPV6 addresses.

Original patch for xen-api by Rob Hoes.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #7 from djs55/ipv4-monitor

Report IPv4 addresses as well as IPV6 addresses.
Bump version to 0.9.1.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
execute_command_get_output fails with /sbin/ip

/sbin/ip seems to interact badly with the stdout redirection
mechanism used by forkexecd (where output is redirected to deleted
files). Work around this by using a pipe instead.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #8 from djs55/master

Fix interaction with /sbin/ip and execute_command_get_output