]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print error if we can’t add the socket to the scheduler
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Jun 2017 02:29:13 +0000 (22:29 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Jun 2017 02:29:13 +0000 (22:29 -0400)
src/modules/proto_radius/proto_radius.c

index d5e7835693898603b8dc941b3126df023aa1497e..afe5ad9f614be6b8906fecee1eacad7f816a2444 100644 (file)
@@ -273,8 +273,9 @@ static int mod_open(void *instance, fr_schedule_t *sc, CONF_SECTION *conf)
                        talloc_free(listen);
                        return -1;
                }
-               
+
                if (!fr_schedule_socket_add(sc, listen)) {
+                       cf_log_perr(conf, "Failed adding socket to scheduler");
                        talloc_free(listen);
                        return -1;
                }