[libvirt] [PATCH 05/13] Pass prefix rather than netmask into iptables functions

2010-12-20 Thread Laine Stump
IPv6 will use prefix exclusively, and IPv4 will also optionally be able to use it, and the iptables functions really need a prefix anyway, so use the new virNetworkDefPrefix() function to send prefixes into iptables functions instead of netmasks. Also, in a couple places where a netmask is

Re: [libvirt] [PATCH 05/13] Pass prefix rather than netmask into iptables functions

2010-12-20 Thread Eric Blake
On 12/20/2010 01:03 AM, Laine Stump wrote: IPv6 will use prefix exclusively, and IPv4 will also optionally be able to use it, and the iptables functions really need a prefix anyway, so use the new virNetworkDefPrefix() function to send prefixes into iptables functions instead of netmasks.