]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fail if we can't parse the virtual servers
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 26 Mar 2018 11:32:32 +0000 (12:32 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 26 Mar 2018 11:32:32 +0000 (12:32 +0100)
src/main/virtual_servers.c

index 62cb5470d54f86770f13a03a054220a246be30a8..ab3cdb102901188f3e9045ba5f357cec2445b989 100644 (file)
@@ -179,7 +179,7 @@ static int server_parse(UNUSED TALLOC_CTX *ctx, void *out, CONF_ITEM *ci, UNUSED
        /*
         *      Now parse the listeners
         */
-       cf_section_parse(out, server, server_cs);
+       if (cf_section_parse(out, server, server_cs) < 0) return -1;
 
        return 0;
 }