
8 Jun
2015
8 Jun
'15
9:30 a.m.
On Fri, Jun 05, 2015 at 09:47:44AM +0100, Daniel P. Berrange wrote:
The socket test suite has a function for checking if IPv4 or IPv6 are available, and returning a free socket. The first bit of that will be needed in another test, so pull that logic out into a separate helper method.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- src/libvirt_remote.syms | 1 + src/rpc/virnetsocket.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ src/rpc/virnetsocket.h | 3 +++ tests/virnetsockettest.c | 36 ++------------------------ 4 files changed, 72 insertions(+), 34 deletions(-)
ACK