util: set missing data length in virSocketAddrPrefixToNetmask()
util: set missing data length in virSocketAddrPrefixToNetmask()

This fixes a bug that has been present since the original version of
the function was pushed in commit 1ab80f3 on Nov. 26 2010 (by me). The
virSocketAddr::len was not being set.

Apparently until now we were always calling
virSocketAddrPrefixToNetmask with virSocketAddr object that was
already (coincidentally) initialized for the proper address family,
but the bug became apparent when trying to use it to fill in an
otherwise uninitialized object.

Signed-off-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@laine.org>
Reviewed-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

eskultety/libvirt,zippy2/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,andreabolognani/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,zippy2/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,eskultety/libvirt,libvirt/libvirt,nertpinx/libvirt,jardasgit/libvirt,andreabolognani/libvirt,libvirt/libvirt,jardasgit/libvirt,jardasgit/libvirt,crobinso/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,eskultety/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,olafhering/libvirt,eskultety/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,andreabolognani/libvirt,crobinso/libvirt,olafhering/libvirt,jardasgit/libvirt