Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Print error if we can’t add the socket to the scheduler
  • Loading branch information
arr2036 committed Jun 29, 2017
1 parent e92f546 commit df566b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/proto_radius/proto_radius.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit df566b8

Please sign in to comment.