diff --git a/[refs] b/[refs] index e51570e6e113..cee464a2a3a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af733015c9f59a0993cb9a64e6904aed8612e8b3 +refs/heads/master: 0d5b6b197f9b9a58ead8ac5e68e38c068c31ba4c diff --git a/trunk/tools/hv/hv_kvp_daemon.c b/trunk/tools/hv/hv_kvp_daemon.c index 3dc989f57dc8..13ae098a0114 100644 --- a/trunk/tools/hv/hv_kvp_daemon.c +++ b/trunk/tools/hv/hv_kvp_daemon.c @@ -589,6 +589,17 @@ kvp_get_ip_address(int family, char *if_name, int op, continue; } + if (op == KVP_OP_GET_IP_INFO) { + /* + * Gather info other than the IP address. + * IP address info will be gathered later. + */ + if (curp->ifa_addr->sa_family == AF_INET) + ip_buffer->addr_family |= ADDR_FAMILY_IPV4; + else + ip_buffer->addr_family |= ADDR_FAMILY_IPV6; + } + error = kvp_process_ip_address(curp->ifa_addr, curp->ifa_addr->sa_family, buffer,