Hi!

I noticed that the first line after the opening of an anchor block must be a rule, which was not quite the behavior I expected. My src/ sbin/pfctl/parse.y was updated from cvs today.

Bug or undocumented feature?

Examples below.

Thanks!
// Henrik

This parses correctly:

anchor "x" in {
pass all
}

This does not parse:

anchor "x" in {

pass all
}

Neither does this:

anchor "x" in {
# rules rule
pass all
}

Reply via email to