another cvs SNMP compile problem

Enrik Berkhan enrik#freeradius at planb.de
Tue Oct 16 17:42:55 CEST 2007


Alan DeKok schrieb:
> A.L.M.Buxey at lboro.ac.uk wrote:
>> if (!&mainconfig.do_snmp) return 0;
>   That shouldn't have an "&".  The test above checks if there's a
> pointer to the variable, which is always true.

Oops, actually my fault ...

>> i'm not sure about the much quieter default radius logging though....
> 
>   Which log messages are missing?

I guess the "Starting - reading configuration ..." that doesn't make it 
any longer into the log file (at least when logging to file), because 
the fake config parsing for the log file location happens later in 
src/main/read_mainconfig.c, if I understand the code correctly.

man henn_and_egg :)

But I may be wrong as I haven't tracked the complete changes to this code.

Enrik




More information about the Freeradius-Devel mailing list