Mercurial > hg > freeDiameter
changeset 376:ea6823f46fe8
Cleanup removed unused request authenticator
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 05 Jul 2010 14:36:35 +0900 |
parents | 40507b3750da |
children | 7c0ddec9ab42 |
files | extensions/app_radgw/rgwx_acct.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/app_radgw/rgwx_acct.c Mon Jul 05 11:36:38 2010 +0900 +++ b/extensions/app_radgw/rgwx_acct.c Mon Jul 05 14:36:35 2010 +0900 @@ -153,7 +153,6 @@ /* The state we store in the session */ struct sess_state { - uint8_t req_auth[16]; /* The request authenticator */ application_id_t auth_appl; /* Auth-Application-Id used for this session, if available (stored in a Class attribute) */ int send_str; /* If not 0, we must send a STR when the ACA is received. */ uint32_t term_cause; /* If not 0, the Termination-Cause to put in the STR. */ @@ -1163,7 +1162,6 @@ CHECK_MALLOC( st = malloc(sizeof(struct sess_state)) ); memset(st, 0, sizeof(struct sess_state)); - memcpy(&st->req_auth, &rad_req->hdr->authenticator[0], 16); st->auth_appl = auth_appl; if (auth_appl) { /* We use the value 0 for servers which indicated NO STATE MAINTAINED, hence have no need for STR */ st->send_str = send_str;