Stefan Berger 0e0f6021ce Use libvirt's existing ipv6/ipv4 parser/printer rather than self-written ones
This patch changes the network filtering code to use libvirt's existing
IPv4 and IPv6 address parsers/printers rather than my self-written ones.

I am introducing a new function in network.c that counts the number of
bits in a netmask and ensures that the given address is indeed a netmask,
return -1 on error or values of 0-32 for IPv4 addresses and 0-128 for
IPv6 addresses. I then based the function checking for valid netmask
on invoking this function.
2010-03-30 11:18:04 -04:00
..
2010-02-01 09:39:54 -05:00
2010-03-29 18:21:04 +02:00
2010-03-29 18:21:04 +02:00
2010-02-19 11:52:04 +01:00
2010-03-26 18:01:15 +00:00
2010-03-26 18:01:15 +00:00
2010-03-26 18:01:15 +00:00
2010-03-29 18:19:23 +02:00
2010-03-29 18:19:23 +02:00
2010-03-23 15:40:04 +01:00
2010-03-23 15:40:04 +01:00