Package: ferm Version: 2.0.5-1 Severity: wishlist Hi,
I would like to define a function like @def &logreject($name)={ @if ! @chain-exists "$name" { chain "$name" { LOG log-prefix $name; REJECT reject-with admin-prohib; } } jump $rulename; } that is, a function which defines a new chain only if it doesnt yet exist, but always generates a "jump" statement. Without the @chain-exists operator, one would always get two new redundant rules in the chain. The only thing that is missing is the @chain-exists conditional operator. Please consider implementing it in a future version of ferm. Greetings Marc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org