rem: if (dst_peer->local_ip.af==AF_INET6)
add: if (tr->peer->local_ip.af==AF_INET6)
context: int send_cea( struct trans *tr, unsigned int result_code){	char *ptr;	str *ce_avp;	str cea;#ifdef USE_IPV6	if (dst_peer->local_ip.af==AF_INET6)		ce_avp = &(peer_table->ce_avp_ipv6);	else#endif		ce_avp = &(peer_table->ce_avp_ipv4);	cea.len = peer_table->std_ans.len + ce_avp->len;	cea.s = shm_malloc( cea.len );	if (!cea.s) {		LOG(L_ERR,"ERROR:send_cer: no more free memory\n");		goto error;	}	ptr = cea.s;	/**/	memcpy( ptr, peer_table->std_ans.s, peer_table->std_ans.len );	((unsigned int*)ptr)[0] |= htonl( cea.len );	((unsigned int*)ptr)[1] |= CE_MSG_CODE;	((unsigned int*)ptr)[(AAA_MSG_HDR_SIZE+AVP_HDR_SIZE)>>2] =		htonl( result_code );	ptr += peer_table->std_ans.len;	/**/	memcpy( ptr, ce_avp->s, ce_avp->len );	memcpy( ptr+AVP_HDR_SIZE,tr->peer->local_ip.u.addr,tr->peer->local_ip.len);	/* send the buffer */	return internal_send_response( &cea, tr);	return 1;error:	return -1;}