28 Jan
2013
28 Jan
'13
10:32 a.m.
Jatin Bodarya wrote:
Hi all,
I suppose to send radius request as well as accounting start request. I can do this both successfully . Now In radius response packet It returns me some values including " acct-session-id" now I want to read this packet and send this parameter with " acct start request . using rc_avpair_add or rc_avpair_get like commands.. can anyone help me ? how can I read that packet and get this data ?
rc_avpair_get should work with the response. See the code which already does this in radius.c: ... ((vp = rc_avpair_get(received, PW_FRAMED_PROTOCOL, 0)) != NULL)) ... Alan DeKok.
4909
Age (days ago)
4909
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alan DeKok