[OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

Walter Doekes notifications at github.com
Thu May 1 11:49:49 CEST 2014


> @@ -130,6 +131,18 @@ static int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
>  
>  	LM_DBG("buf: %p. flags: %d\n", buf, flags);
>  
> +	if (sockaddr_list_str.s) {
> +		i = snprintf(query_socket, sizeof(query_socket), " and socket in (%.*s)",

I can't find the spec itself, but according to all pages that reference the spec., IN belongs in the core SQL.

Example:
http://www.postgresql.org/docs/7.4/static/features.html
http://developer.mimer.com/standard/features/core-sql-features.tml

In both cases they are listed as core sql. Look for `IN predicate with list of values`.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/127/files#r12183049
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140501/7c026a39/attachment.htm>


More information about the Devel mailing list