Changeset 376:ea6823f46fe8 in freeDiameter
- Timestamp:
- Jul 5, 2010, 2:36:35 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgwx_acct.c
r358 r376 154 154 /* The state we store in the session */ 155 155 struct sess_state { 156 uint8_t req_auth[16]; /* The request authenticator */157 156 application_id_t auth_appl; /* Auth-Application-Id used for this session, if available (stored in a Class attribute) */ 158 157 int send_str; /* If not 0, we must send a STR when the ACA is received. */ … … 1164 1163 CHECK_MALLOC( st = malloc(sizeof(struct sess_state)) ); 1165 1164 memset(st, 0, sizeof(struct sess_state)); 1166 memcpy(&st->req_auth, &rad_req->hdr->authenticator[0], 16);1167 1165 st->auth_appl = auth_appl; 1168 1166 if (auth_appl) { /* We use the value 0 for servers which indicated NO STATE MAINTAINED, hence have no need for STR */
Note: See TracChangeset
for help on using the changeset viewer.