Package: ferm
Version: 2.0.5-1
Severity: minor
The following construction
@def &droplog() = {
LOG log-prefix $CHAIN; DROP;
}
chain INPUT {
saddr 10.151.252.143 @subchain "drop_bad_source" { &droplog(); }
}
results in
saddr 10.151.252.143 @subchain "drop_bad_source"
{
{
LOG log-prefix $ CHAIN <--
array not allowed here
While trying to find out why $CHAIN is an array, I tried
chain $CHAIN LOG log-prefix "myfoo";
which results in
= chain $ CHAIN <--
no such variable: $CHAIN
WTF am I doing wrong?
Greetings
Marc
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]