[libvirt] [PATCH] Introduce virStringStripIPv6Brackets
Daniel P. Berrange
berrange at redhat.com
Wed Oct 8 09:10:31 UTC 2014
On Wed, Oct 08, 2014 at 10:46:53AM +0200, Ján Tomko wrote:
> Helper function to strip the brackets from an IPv6 address.
> Tested by viruritest.
> ---
> src/libvirt_private.syms | 1 +
> src/util/virstring.c | 22 ++++++++++++++++++++++
> src/util/virstring.h | 2 ++
> src/util/viruri.c | 20 ++++----------------
> 4 files changed, 29 insertions(+), 16 deletions(-)
Can we have tests in viruritest.c and virstringtest.c too
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list