On Sun, 23 Sep 2012 20:11:48 +0200 John Spencer wrote: > On 09/23/2012 07:31 PM, orc wrote: > > > > I tested recently, it is still failing to parse options. > > > do you have a build recipe for iptables to share ? > i was not able to build it on sabotage (didn't put much effort into > it, though), and it looks like a kernel header issue. > so please tell us additionally which kernel headers you used and > which iptables version. > > thanks > > as for the getopt issue, the cause is likely that iptables assumes > GNU semantics. > they should do a configure check for this and if GNU getopt behaviour > is not detected, use a gnulib style replacement function instead of > the libc one. See attached patch. iptables 1.4.12.1