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

2017-11-08 Thread Jiri Denemark
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|

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

2017-11-07 Thread Peter Krempa
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