ipvsadm: enable displaying of IPv6 hostnames in listing

Lookups of IPv6 addresses to hostnames didn't work.  This patch
handles the lookup case with IPv6 in function addr_to_host().

In the future, we should convert it to use getnameinfo(3), but this
patch fixes the issue at hand.

Signed-off-by: Michiro Hibari <hibari.michiro@lab.ntt.co.jp>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
1 file changed