On 02/21/2012 03:06 PM, Konstantin Kolinko wrote:
2012/2/21<[email protected]>:@@ -58,6 +70,13 @@ TCN_IMPLEMENT_CALL(jlong, Address, info) sl = sa; } } + if (sp) { + /* Set the provided scope id + * APR lack the api for setting this directly so lets presume + * the sin6_scope_id is present everywhere + */ + sl->sa.sin6.sin6_scope_id = scope_id;Maybe guard the above with #if APR_HAVE_IPV6 , like the first code fragment in this patch?
Check the full code not just patch. It is inside APR_HAVE_IPV6 Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
