X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=main.c;fp=main.c;h=1e85e39ddb0bebc88eb057f7bb023e8166a608aa;hp=dddc64acff1eabed24702beb0f9600337277c301;hb=e233557e40043050c72b46d4b32b3a04cfd3d947;hpb=cdee00aeddbe22a0ac7505c5a6c882e17d5fa1bf 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");