Changeset 550:4c935aecee6c in freeDiameter for extensions/app_radgw/rgw_clients.c
- Timestamp:
- Sep 15, 2010, 2:24:45 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgw_clients.c
r548 r550 975 975 } 976 976 977 /* Add all the Proxy-States back in the message */ 978 for (p = 0; p < req->ps_nb; p++) { 979 struct radius_attr_hdr * attr = (struct radius_attr_hdr *)(req->radius.buf + req->radius.attr_pos[req->ps_first + p]); 980 981 if (radius_msg_add_attr_to_array(*msg, attr)) { 982 TRACE_DEBUG(INFO, "Error in radius_msg_add_attr_to_array, ENOMEM"); 983 radius_msg_free(*msg); 984 free(*msg); 985 *msg = NULL; 986 return ENOMEM; 987 } 988 } 989 990 /* Add the Message-Authenticator if needed, and other final tasks */ 977 991 if (radius_msg_finish_srv(*msg, cli->key.data, cli->key.len, req->radius.hdr->authenticator)) { 978 992 TRACE_DEBUG(INFO, "An error occurred while preparing the RADIUS answer");
Note: See TracChangeset
for help on using the changeset viewer.