]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ignore LEAP, too
authorAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 15:40:03 +0000 (11:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 15:40:20 +0000 (11:40 -0400)
src/modules/rlm_eap/rlm_eap.c

index d558d78088589c3cc30650f753698eaa20bacef6..49819d9ce7a86fb61de289c0ee103432e750f76f 100644 (file)
@@ -139,6 +139,15 @@ static int mod_instantiate(CONF_SECTION *cs, void *instance)
 
                if (!strcmp(name, TLS_CONFIG_SECTION))  continue;
 
+               /*
+                *      Don't break configurations for lazy people who still have LEAP enabled.
+                */
+               if (!strcmp(name, "leap")) {
+                       WARN("rlm_eap (%s): Ignoring EAP method 'leap', because it is no longer supported",
+                            inst->xlat_name, name);
+                       continue;
+               }
+
                /*
                 *      Easier sometimes than commenting out blocks,
                 *      or deleting blocks.