Navigation


Changeset 396:918fbb92eb8b in freeDiameter


Ignore:
Timestamp:
Jul 8, 2010, 11:12:22 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Attempt to fix #6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/cnxctx.c

    r378 r396  
    274274                /* Retrieve the number of streams */
    275275                CHECK_FCT_DO( fd_sctp_get_str_info( cli->cc_socket, &cli->cc_sctp_para.str_in, &cli->cc_sctp_para.str_out, NULL ), goto error );
    276                 if (cli->cc_sctp_para.str_out > cli->cc_sctp_para.str_in)
     276                if (cli->cc_sctp_para.str_out < cli->cc_sctp_para.str_in)
    277277                        cli->cc_sctp_para.pairs = cli->cc_sctp_para.str_out;
    278278                else
    279279                        cli->cc_sctp_para.pairs = cli->cc_sctp_para.str_in;
     280               
     281                TRACE_DEBUG(FULL,"%s : client '%s' (SCTP:%d, %d/%d streams)", fd_cnx_getid(serv), fd_cnx_getid(cli), cli->cc_socket, cli->cc_sctp_para.str_in, cli->cc_sctp_para.str_out);
    280282        }
    281283#endif /* DISABLE_SCTP */
Note: See TracChangeset for help on using the changeset viewer.