Not all servers have sections
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 8 Sep 2014 15:43:26 +0000 (11:43 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 8 Sep 2014 15:43:26 +0000 (11:43 -0400)
src/main/modules.c

index 7a593e1..ce7d570 100644 (file)
@@ -1387,11 +1387,6 @@ static int load_byserver(CONF_SECTION *cs)
                cf_log_info(cs, "} # server");
        }
 
-       if (!found && name) {
-               WARN("Server %s is empty, and will do nothing!",
-                     name);
-       }
-
        if (debug_flag == 0) {
                INFO("Loaded virtual server %s",
                       (name != NULL) ? name : "<default>");