Re: [libvirt] [PATCH 11/13] Update iptables.c to also support ip6tables.

2011-01-04 Thread Daniel P. Berrange
On Mon, Dec 20, 2010 at 03:03:23AM -0500, Laine Stump wrote: All of the iptables functions eventually call down to a single bottom-level function, and fortunately, ip6tables syntax (for all the args that we use) is identical to iptables format (except the addresses), so all we need to do is:

Re: [libvirt] [PATCH 11/13] Update iptables.c to also support ip6tables.

2011-01-04 Thread Laine Stump
On 01/04/2011 10:48 AM, Daniel P. Berrange wrote: @@ -735,6 +765,7 @@ iptablesForwardMasquerade(iptablesContext *ctx, if (protocol protocol[0]) { if (physdev physdev[0]) { ret = iptablesAddRemoveRule(ctx-nat_postrouting, +

[libvirt] [PATCH 11/13] Update iptables.c to also support ip6tables.

2010-12-20 Thread Laine Stump
All of the iptables functions eventually call down to a single bottom-level function, and fortunately, ip6tables syntax (for all the args that we use) is identical to iptables format (except the addresses), so all we need to do is: 1) Get an address family down to the lowest level function in