Navigation


Changeset 296:e11a9f90a65a in freeDiameter for extensions/app_radgw/rgwx_acct.c


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

Do not send STR if the auth server sent NO_STATE_MAINTAINED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_acct.c

    r295 r296  
    10881088                memcpy(&st->req_auth, &rad_req->hdr->authenticator[0], 16);
    10891089                st->auth_appl = auth_appl;
    1090                 st->send_str = send_str;
     1090                if (auth_appl) { /* We use the value 0 for servers which indicated NO STATE MAINTAINED, hence have no need for STR */
     1091                        st->send_str = send_str;
     1092                }
    10911093                st->term_cause = str_cause;
    10921094                CHECK_FCT( fd_sess_state_store( cs->sess_hdl, session, &st ) );
Note: See TracChangeset for help on using the changeset viewer.