From a16b484f275a1888d46061ccb507fa90a04cbd1b Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Thu, 17 Mar 2016 16:25:58 -0500 Subject: [PATCH] Import this from authd-framework branch --- authd/authd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/authd/authd.c b/authd/authd.c index 62336833..bb01be82 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -20,6 +20,7 @@ #include "authd.h" #include "dns.h" +#include "provider.h" #define MAXPARA 10 @@ -28,8 +29,9 @@ static void handle_stat(int parc, char *parv[]); rb_helper *authd_helper = NULL; authd_cmd_handler authd_cmd_handlers[256] = { - ['H'] = handle_reload, + ['C'] = handle_new_connection, ['D'] = resolve_dns, + ['H'] = handle_reload, ['S'] = handle_stat, }; @@ -151,6 +153,7 @@ main(int argc, char *argv[]) rb_set_time(); setup_signals(); init_resolver(); + init_providers(); rb_init_prng(NULL, RB_PRNG_DEFAULT); rb_helper_loop(authd_helper, 0);