Vadim A. Shklyaev wrote: > One more question, some time back a man, who had made a RADIUS > patch asked you, whether can he hook directly in AuthGetData in > auth.c, and you answered that that would be incorrect. I > wondering, why? As you can see, I have rewritten every place, > where AuthGetData is called, but IMHO it would be easier to modify > just auth.c. What is right?
AuthGetData() is the "right" place to do that, except that if your operation blocks for a long time (e.g., while accessing some external resource) then mpd itself will block too (mpd is event-driven, not threaded), so any other links that might be doing negotiation, LCP echoes, etc. will be delayed. In practice this is rarely a problem unless you are doing lots of links simultaneously. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message