]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
The behaviour of -C and -X should be identical in terms of what's allowed
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Jan 2018 02:27:58 +0000 (19:27 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Jan 2018 02:27:58 +0000 (19:27 -0700)
src/main/virtual_servers.c

index 8dff77c1c485addbf107c2c9732e553f6e923f94..280a787189cec1811d838dae512b457c97b29a7a 100644 (file)
@@ -432,14 +432,7 @@ int virtual_servers_instantiate(void)
                                name2 = cf_section_name2(subcs);
                                if (!name2) name2 = "";
 
-                               if (check_config) {
-                                       cf_log_err(subcs, "%s %s { ... } section is unused",
-                                                   name, name2);
-                                       return -1;
-                               }
-
-                               cf_log_warn(subcs, "%s %s { ... } section is unused",
-                                       name, name2);
+                               cf_log_warn(subcs, "%s %s { ... } section is unused", name, name2);
                        }
                }
        }