SIGHUP disables debugging

Kenneth Lee kenneth at cybermind.com.hk
Fri Jan 13 12:48:45 CET 2006


Hi there,

The problem seems to be around the lines in mainconfig.c, read_mainconfig():

    if ((mainconfig.debug_level > debug_flag) ||
        (mainconfig.debug_level <= old_debug_level)) {
      debug_flag = mainconfig.debug_level;
    }
    librad_debug = debug_flag;
    old_debug_level = mainconfig.debug_level;

When read_mainconfig() is called the second time, debug_flag is reset to
that specified in config file.

The problem is minor, but looks funny to me. I expect -X to be sticky.

Kenneth




More information about the Freeradius-Users mailing list