Print out section name for empty sections
[freeradius.git] / src / main / modules.c
index 61e5d12..e15ee76 100644 (file)
@@ -697,7 +697,7 @@ int indexed_modcall(int comp, int idx, REQUEST *request)
 
        if (idx == 0) {
                list = server->mc[comp];
-               if (!list) RDEBUG2("  WARNING: Empty section.  Using default return values.");
+               if (!list) RDEBUG2("  WARNING: Empty %s section.  Using default return values.", section_type_value[comp].section);
 
        } else {
                indexed_modcallable *this;