Commit f72dcb17 authored by Pekka Pessi's avatar Pekka Pessi

nua_register.c: try to check for IP address families when selecting Contact.

darcs-hash:20060817183620-65a35-680a1b79be504fa8f031f713242c3207ca1c22d9.gz
parent fa668c75
......@@ -1225,6 +1225,10 @@ nua_registration_t *nua_registration_by_aor(nua_registration_t const *list,
continue;
if (only_default && !nr->nr_default)
continue;
if (nr->nr_ip4 && ip6)
continue;
if (nr->nr_ip6 && ip4)
continue;
if (sips_uri ? nr->nr_secure : !nr->nr_secure)
return (nua_registration_t *)nr;
if (!public && nr->nr_public)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment