|
From: kb <kb...@bl...> - 2003-08-11 16:45:58
|
[ Sorry for cross-posting. This should be on the dev list, but I am not
subscribed to that list -- but curious about comments. ;) ]
First of all: Thanks again to Tom for this great new feature and his
help debugging. :-)
While playing around a little bit with this new feature I encountered a
minor issue:
DONE # does not work
DONE - - - - - # works
(In fact, the newline followed directly after the last char of the rule,
no unnecessary whitespace added.)
According to the docs, trailing 'any's can be omitted. [1] This works
at least for the last 3 of them, as I tested. Omitting all 5 optional
values results in shorewall to start without(!) any error, not notifying
about the created chain -- and indeed the chain does not exist.
karsten
[1] This is not mentioned in the docs, but the examples are omitting
them if not needed.
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
|