On Wed, Jul 17, 2002 at 02:37:15PM +0100, Philip Hazel wrote:
> For the moment, the only possibility is "mask", as you say. If your list
> is inline and consists of IP networks, the different is only syntactic
> sugar:
>
> ${if or
> {
> {eq {${mask:$sender_host_address/24}}{1.2.3.0/24}}
> {eq {${mask:$sender_host_address/16}}{1.2.0.0/16}}
> ...
> }
> ...
I hadn't realised that or{} allows more than two parameters. Not having to
nest them, this looks fine.
Thanks,
Brian.