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 said, I'm fine with pushing this. Thanks.


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

Reply via email to