Navigation


Changeset 294:0e940240c436 in freeDiameter


Ignore:
Timestamp:
May 10, 2010, 3:08:32 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix application id in the STR header. Not sure what is really expected there, though...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_acct.c

    r277 r294  
    11941194        if (st->send_str) {
    11951195                struct msg * str = NULL;
     1196                struct msg_hdr * hdr = NULL;
    11961197                char * fqdn;
    11971198                char * realm;
     
    12001201                /* Create a new STR message */
    12011202                CHECK_FCT(  fd_msg_new ( cs->dict.Session_Termination_Request, MSGFL_ALLOC_ETEID, &str )  );
     1203               
     1204                /* Set the application-id to the auth application if available, accouting otherwise (not sure what is actually expected...) */
     1205                CHECK_FCT( fd_msg_hdr ( str, &hdr ) );
     1206                hdr->msg_appl = st->auth_appl ?: AI_ACCT;
    12021207               
    12031208                /* Add the Session-Id AVP as first AVP */
Note: See TracChangeset for help on using the changeset viewer.