]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hyperv/kvp: Fix IPv4/IPv6 address injection support.
authorSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 8 Sep 2016 07:16:56 +0000 (07:16 +0000)
committerSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 8 Sep 2016 07:16:56 +0000 (07:16 +0000)
commit74decee899ad014435a533f44ca96439311ab4a1
treee7913a9ecf37cea8ee59053d11197d48c24b5fab
parenta74e025394de14ee8f3d1d7245ab1844d1e4404d
hyperv/kvp: Fix IPv4/IPv6 address injection support.

The GUID string provided by hypervisor has leading and trailing braces,
while our GUID string does not have braces at all.  Both braces should
be ignored, when the GUID strings are compared.

Submitted by: Hongjiang Zhang <honzhan microsoft com>
Modified by: sephe
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7809
sys/dev/hyperv/utilities/hv_kvp.c