On Mon, 12 Aug 2002, Dmitry Perfilyev wrote:

>  ��������� ���������� bind � redir_connect() � src/modules/accel.c .
> ��-�� ����� ����� oops ������������� ���������� � ������ 
> ������������ �� �� ���������� connect_from, �� connect_from ������
> �� ��������. ���� ����.

������, ������� � cvs.

> 
> 
> 
>################################################################################################
> 
> *** accel.c.orig        Mon Aug 12 16:06:52 2002
> --- accel.c     Mon Aug 12 16:22:44 2002
> ***************
> *** 661,666 ****
> --- 661,671 ----
>       if ( so < 0 )
>         goto done;
>   
> +     if ( bind(so,(struct sockaddr*)&rq->conn_from_sa,sizeof(struct sockaddr)) == 
>-1 ) {
> +       my_xlog(OOPS_LOG_SEVERE,"redir_connect(): bind: cann't bind to connect_from 
>IP in accel module\n");
> +       goto done;      
> +     }
> + 
>       while ( max_attempts ) {
>         if ( !host->failed ) {
>             char        *use_name;
> 
> 
>################################################################################################
> 
> --
>    Dmitry Perfilyev 
>       JSC Combellga
>           www.co.ru
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://lists.paco.net/oops-rus/
> 

Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/

Дати відповідь електронним листом