18 Feb
2013
18 Feb
'13
6:49 a.m.
Hello everybody is it possible to add inside from a Module an Attribute. I have included an C-Modul to my freeradis which works! Now i want do add an individual Attribute like, "Web-Page" = "www.google.de" Which also works it's to change the Attribute-Value if the "State" Attribute, but I also want to have antoher Name like "State". VALUE_PAIR *reply; reply = pairmake("*State*", "*Hello State*", T_OP_EQ); pairadd(&request->reply->vps, reply); This works fine, but If now I want to add an individual Attribute it doens't work. VALUE_PAIR *reply; reply = pairmake("*Web_page*", "*www.google.de*", T_OP_EQ); pairadd(&request->reply->vps, reply); Did everyone know what did I made wrong and could help me please ? Thanks, Greetz Patrick