Menu

#1 password length error

open
nobody
None
5
2006-05-21
2006-05-21
Anonymous
No

in CRadiusAttribute.cpp
ACE_UINT16 l_length = (p_length + 16) & 0xFFF0 + 2;
should be changed to
ACE_UINT16 l_length = ((p_length + 16) & 0xFFF0) + 2;

in CRadiusClientConnection.cpp
ACE_Time_Value l_timeDiff = m_disabledTime -
m_timerQueue->gettimeofday();
should be changed to
ACE_Time_Value l_timeDiff = m_timerQueue->gettimeofday
() - m_disabledTime;

suggestion:
add call back function to radius packet.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB