]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
check for io_submodule, not app_io
authorAlan T. DeKok <aland@freeradius.org>
Mon, 26 Jun 2017 14:27:09 +0000 (10:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 26 Jun 2017 14:27:09 +0000 (10:27 -0400)
src/modules/proto_radius/proto_radius.c

index 8c355154113a2409616954127824e7c6cf25773b..80cea3ac5382cb78e2693c90132504b2b91a3fe6 100644 (file)
@@ -399,7 +399,10 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf)
                i++;
        }
 
-       if (!inst->app_io) return 0;
+       /*
+        *      No IO module, it's an empty listener.
+        */
+       if (!inst->io_submodule) return 0;
 
        /*
         *      Bootstrap the I/O module