[libvirt] [PATCH] util: storage: Fix parsing of IPv6 portal address for iSCSI

Jiri Denemark jdenemar at redhat.com
Wed Nov 8 11:54:17 UTC 2017


On Tue, Nov 07, 2017 at 16:26:51 +0100, Peter Krempa wrote:
> Split on the last colon and avoid parsing port if the split remainder
> contains the closing square bracket, so that IPv6 addresses are
> interpreted correctly.
> ---
>  src/util/virstoragefile.c |  3 ++-
>  tests/virstoragetest.c    | 20 ++++++++++++++++++++
>  2 files changed, 22 insertions(+), 1 deletion(-)

ACK

Jirka




More information about the libvir-list mailing list