Navigation


Changeset 374:8f4ae09bc7c3 in freeDiameter


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

Enforce the TCP preference from config also

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/p_cnx.c

    r372 r374  
    189189
    190190                /* Add the new entry to the appropriate position (depending on preferences) */
    191                 if (peer->p_hdr.info.config.pic_flags.alg == PI_ALGPREF_TCP) {
     191                if ((fd_g_config->cnf_flags.pr_tcp) || (peer->p_hdr.info.config.pic_flags.alg == PI_ALGPREF_TCP)) {
    192192                        fd_list_insert_after(last_prio, &new->chain);
    193193                } else {
Note: See TracChangeset for help on using the changeset viewer.