]> git.ipfire.org Git - thirdparty/libvirt.git/commit
create virSocketAddrGetIpPrefix utility function
authorGene Czarcinski <gene@czarc.net>
Sat, 20 Apr 2013 19:45:46 +0000 (15:45 -0400)
committerLaine Stump <laine@laine.org>
Mon, 22 Apr 2013 18:10:53 +0000 (14:10 -0400)
commitbd7c7c1b3c664933272d0a367d47ead49e4611ad
treedfd017f7ecc9a0fcd7277bcef0fa94bc898a042a
parent1e05073fbb1c12024deb24e32db7d5f992522f7c
create virSocketAddrGetIpPrefix utility function

Create the utility function virSocketAddrGetIpPrefix() to
determine the prefix for this network.  The code in this
function was adapted from virNetworkIpDefPrefix().

Update virNetworkIpDefPrefix() in src/conf/network_conf.c
to use the new utility function.

Signed-off-by: Gene Czarcinski <gene@czarc.net>
src/conf/network_conf.c
src/libvirt_private.syms
src/util/virsocketaddr.c
src/util/virsocketaddr.h