On Thu, Jun 23, 2011 at 11:06:34AM -0700, Andrew Evans wrote:
> On Thu, 2011-06-23 at 10:00 -0700, Ben Pfaff wrote:
> > The -S command isn't present in old versions of iptables, including the
> > version installed on Citrix XenServer.  We have to use -n -L instead.
> > 
> > Bug #6071.
> 
> The things we do in the name of backward compatibility! I guess this
> will help on RHEL 5 systems too.
> 
> I wonder if it might be simpler to parse the output of iptables-save
> than to try to normalize iptables -L output across a wide range of
> versions. What you've written looks good, but I had to study it closely
> to really understand what's going on.

That's a good idea.  I'll use that approach next, if this one doesn't
work out well.  (I tested it on XenServer and on Debian, for what it's
worth.)

> That said, I'm fine with pushing this. Thanks.

I pushed it.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to