ATT_Framed_Route is a string not integer
Brought to you by:
matteoricchetti
variable trash and buf didn't give values
case ATT_Framed_Route:
//GETADDR_R(radiusAttrib,in.s_addr,0)
//sscanf((char *)radiusAttrib,"%32s %16s",trash,buf);
ci->framedRoute.sin_addr.s_addr=inet_addr(radiusAttrib);
if( DEBUG() ) {
snprintf(logString,256 - 1,"[%u] [DEBU] Radius Framed_Route bind address set to: %s.",pid,radiusAttrib);
SS5Modules.mod_logging.Logging(logString);
}
break;
You are right. Attribute is used to manage source interface as you can do using route directive into ss5.conf.
It will be rewritten soon.
Bye