tools: hv: kvp_daemon: make IPv6-only-injection work
authorDexuan Cui <decui@microsoft.com>
Wed, 10 Dec 2014 11:33:20 +0000 (03:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:10 +0000 (05:04 -0800)
commit787d61822525295399f97390bca3e1bb4ce7a6b3
treedd61ae84a2b688cb4e48f52057dd5d20f029033a
parent87712bf81dd092821c406ea3fb47a07222484a64
tools: hv: kvp_daemon: make IPv6-only-injection work

In the case the host only injects an IPv6 address, the dhcp_enabled flag is
true (it's only for IPv4 according to Hyper-V host team), but we still need to
proceed to parse the IPv6 information.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-By: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c