Your message dated Sat, 18 Jul 2009 11:15:02 +0200
with message-id <[email protected]>
and subject line Re: Bug#525455: ferm: @subchain without rule should be possible
has caused the Debian Bug report #525455,
regarding ferm: @subchain without rule should be possible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
525455: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525455
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ferm
Version: 2.0.5-1
Severity: wishlist

Hi,

it would be great if constructions like

@def &droplog() = {
  @subchain {
    LOG log-prefix $logprefix;
    REJECT reject-with admin-prohib;
  };
}

were possible to allow things like

chain INPUT saddr 10.0.0.0 &droplog();

This unfortunately immediately results in "No rule specified before
"@subchain"".

Greetings
Marc



--- End Message ---
--- Begin Message ---
On 2009/04/24 19:09, Marc Haber <[email protected]> wrote:
> @def &droplog() = {
>   @subchain {
>     LOG log-prefix $logprefix;
>     REJECT reject-with admin-prohib;
>   };
> }

Try removing one level of curly braces:

 @def &droplog() = @subchain {
   LOG log-prefix $logprefix;
   REJECT reject-with admin-prohib;
 }


--- End Message ---

Reply via email to