The permissions module returns the first match, so depends on which group
is first in your database, that will be selected. So basically you need to
make sure there is no overlap.

Regards,
Ali Pey

On Fri, Aug 24, 2012 at 10:31 AM, Brett Nemeroff <[email protected]> wrote:

> Hello All,
> I was wondering if anyone knew how gracefully overlapping address ranges
> works in the permissions module (using the address table).
>
> An example of an overlapping address range would be something like:
> 192.168.1.5/32 - Group 1
> 192.168.1.0/24 - Group 2
>
> Can I be sure that 192.168.1.5 will *always* be group 1? Or could it show
> up as group 2 sometimes?
>
> In english: all endpoints in the 192.168.1.0/24 network are group 2,
> except for 192.168.1.5 which is group 1
>
> Thanks,
> Brett
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to