about the source code in version 2.1.3
neoo
neooys at gmail.com
Tue Dec 9 01:53:18 CET 2008
Hi,all
I'm not clear about two things.
1) in the file freeradius-server-2.1.3/src/mainradiusd.c, at the line
103-105:
103 #ifdef OSFC2
104 set_auth_parameters(argc,argv);
105 #endif
what's this checked for ? it's about security or something?
2) in the file freeradius-server-2.1.3/src/main/event.c at line 2874:
why ,it check the pointer el and not pl ?
2859 /*
2860 * Externally-visibly functions.
2861 */
2862 int radius_event_init(CONF_SECTION *cs, int spawn_flag)
2863 {
2864 rad_listen_t *this, *head = NULL;
2865
2866 if (el) return 0;
2867
2868 time(&fr_start_time);
2869
2870 el = fr_event_list_create(event_status);
2871 if (!el) return 0;
2872
2873 pl = fr_packet_list_create(0);
2874 *if (!el) return 0;* *why not check pl?*
2875
i am a newbie, thanks everyone!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081209/c536727c/attachment.html>
More information about the Freeradius-Users
mailing list