[Ferm] Dual-stacking and IP in variables

Max Kellermann max at duempel.org
Thu Jul 7 11:28:57 CEST 2011


On 2011/07/07 11:20, Faidon Liambotis <paravoid at debian.org> wrote:
> Having $DOMAIN set to the *current* domain is nice, but the above stanza
> doesn't make much sense, does it? Wouldn't
>   domain ip {
>     # IPv4 rules go here
>   }
>   domain ip6 {
>     # IPv4 rules go here
>   }
> make a lot more sense?

Yes, sure, my example didn't make sense, but sometimes you may have a
common include file for both, with just one special rule for IPv6 -
and now you can use @if/$DOMAIN for that.


More information about the Ferm mailing list