X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=main.c;h=1e85e39ddb0bebc88eb057f7bb023e8166a608aa;hp=dddc64acff1eabed24702beb0f9600337277c301;hb=a1c8b8d89f31cbf5ac4151ac65e9e6545e75713a;hpb=42b2772d78f3c1ecd4a4e9e5f2e49db9b420554f diff --git a/main.c b/main.c index dddc64a..1e85e39 100644 --- a/main.c +++ b/main.c @@ -221,6 +221,12 @@ int main(int argc, char *argv[]) crc_init(); #endif +#ifdef WITH_VOOTP + /* init VoOTP */ + vootp_init(stderr); + vootp_loglevel(VOOTP_LOGL_INFO); +#endif + /* the mutex init */ if (pthread_mutex_init(&mutexd, NULL)) { fprintf(stderr, "cannot create 'PDEBUG' mutex\n");