Re: [PATCH v3 1/3] migration: add migration_host support for Ipv6 address without brackets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/07/2014 06:07 AM, Chen Fan wrote:
> if specifying migration_host to an Ipv6 address without brackets,
> it was resolved to an incorrect address, such as:
>     tcp:2001:0DB8::1428:4444,
> but the correct address should be:
>     tcp:[2001:0DB8::1428]:4444
> so we should add brackets when parsing it.
> 
> Signed-off-by: Chen Fan <chen.fan.fnst@xxxxxxxxxxxxxx>
> ---
>  src/libvirt_private.syms  |  2 +-
>  src/qemu/qemu_migration.c | 49 +++++++++++++++++++++++------------------------
>  src/util/virsocketaddr.c  | 19 +++++++++---------
>  src/util/virsocketaddr.h  |  2 +-
>  tests/sockettest.c        |  2 +-
>  5 files changed, 36 insertions(+), 38 deletions(-)

ACK

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]