I need to identify all private IPs vs public IPs
Right now I am doing
$rd =~ "192.168" || $rd =~ "10." || $rd =~ "172.16."
but in regex there is a faster way, chaining several ORs
like
$rd =~ "192.168|10.|172.16."
what is the correct way to do this in opensips?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to