Hello,

would you be able to test the patch from next commit?

https://github.com/kamailio/kamailio/commit/f429e753dfa750a604bfb0acb5068b47d0fbe142

(https://github.com/kamailio/kamailio/commit/f429e753dfa750a604bfb0acb5068b47d0fbe142.diff)

I would be able to test properly next week, being on a travel right now, but if you confirm it works, then I will backport.

Cheers,
Daniel

On 30/06/15 01:21, Kyle Kurz wrote:
I'm using allow_address function of the permissions module and I'm seeing strange behavior with network masks not divisible by 8. I have 172.16.0.0/12 in my address table and Kamailio is marking packets from 172.56.16.232 as being part of that local subnet. If I change the subnet to 172.16.0.0/16, I no longer have an issue.

I know there was a bug several years ago related to this (http://git.kamailio.org/gitlist/index.php/sip-router/commit/0ead7ab31bf0df6eb313dc3f9a4979c2a45cce8b), but that code is very different, so I'm wondering if a regression has crept in? I'm using Kam 4.1.6.

Thanks,
Kyle

--

Kyle Kurz
Digium, Inc. · Senior Software Engineer
9115 Brown Deer Rd · San Diego, CA 92121 · US
direct +1 858.537.1166
Check us out at: http://digium.com · http://asterisk.org 



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com