Navigation


Changeset 1265:4ca14a36ae66 in freeDiameter for libfdcore


Ignore:
Timestamp:
Sep 11, 2014, 6:11:17 PM (10 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Add Inband-Security-Id AVP to CEA if the CER contains one even if it is the secure port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_ce.c

    r1249 r1265  
    951951                if ((isi == PI_SEC_NONE) && (! (peer->p_hdr.info.config.pic_flags.sec & PI_SEC_TLS_OLD)))
    952952                        isi = 0;
     953        } else if (peer->p_hdr.info.runtime.pir_isi & PI_SEC_TLS_OLD) {
     954                /* Seem some weird peers are sending the Inband-Security-Id AVP on the secure port... No harm */
     955                isi = PI_SEC_TLS_OLD;
    953956        }
    954957       
Note: See TracChangeset for help on using the changeset viewer.