[sr-dev] 'address' table and composite UNIQUE key for 'ip_addr' and 'mask' columns

Iñaki Baz Castillo ibc at aliax.net
Thu Apr 15 12:56:09 CEST 2010


2010/4/15 Juha Heinanen <jh at tutpro.com>:
> Iñaki Baz Castillo writes:
>
>  > Imagine two entries with same "ip_addr" and "mask" but differnt "grp".
>  > This would be valid as you suggest, but it doesn't make sense as the
>  > permissions module would get just the first entry and extract the
>  > "grp" from it. This is, the composite key columns must be those used
>  > by the search condition ("ip_addr", "mask" and "port").
>
> which function of permissions module?

allow_source_address_group()


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list