This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-25 21:22:19 +01:00
parent 6d036bc280
commit faf4736532
2 changed files with 6 additions and 1 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@
- Updated HTTP protocol handling (fixes issue with
openconnect < 4). Reported by Mike Miller.
- Use TCP wrappers (libwrap) when present.
* Version 0.0.1 (released 2013-02-20)

View File

@@ -597,6 +597,10 @@ int main(int argc, char** argv)
flags |= LOG_PERROR;
#endif
openlog("ocserv", flags, LOG_DAEMON);
#ifdef HAVE_LIBWRAP
allow_severity = LOG_DAEMON|LOG_INFO;
deny_severity = LOG_DAEMON|LOG_WARNING;
#endif
/* Initialize GnuTLS */
tls_global_init(&s);