On 2007/04/15 01:52, Joerg Jaspert <[EMAIL PROTECTED]> wrote:
> (saddr daddr) $SOMETHING ACTION;
> 
> doesnt work, ferm doesnt like the array of saddr/daddr. Why?

Only keyword parameters can be put in an array; this is a design
decision which will not be changed soon, however it might change once
we overhaul ferm's internal data structures.

To emulate the rule you might want to create, you could use custom
functions:

 def &addr($a) = { saddr $a; daddr $a; }
 chain INPUT ACCEPT &addr($SOMETHING);

Note that the function call to &ADDR() must be the last specification
in this line, since it contains curly braces.

Max



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to