openbsd-ports/net/pptp/patches/patch-util_c
naddy f6b6062096 * Update maintainer email address.
* Add detailed option descriptions to pptp(8) man page.
* Move OpenBSD configuration examples from text file
  ${PREFIX}/share/doc/pptp/USING into pptp(8) man page,
  and remove patch to ${WRKSRC}/USING. Extend and
  revise examples while at it.
* Add patch to ${WRKSRC}/util.c to make pptp log normal
  informational messages with level LOG_INFO instead of LOG_NOTICE.
* Update pkg/DESCR with a new description based on upstream web site.
* Fix URL to list of pptp security flaws in pkg/MESSAGE.
* [Re-]Create patches with `make update-patches'.
* Add patch to ${WRKSRC}/pptp_gre.c to automatically enable
  the net.inet.gre.allow sysctl before trying to bind
  the GRE socket.
* Remove '@sysctl net.inet.gre.allow=1' from PLIST.

From: maintainer Stefan Sperling
2007-10-23 22:13:38 +00:00

13 lines
457 B
Plaintext

$OpenBSD: patch-util_c,v 1.3 2007/10/23 22:13:38 naddy Exp $
--- util.c.orig Tue Sep 18 07:22:28 2007
+++ util.c Tue Sep 18 07:22:35 2007
@@ -45,7 +45,7 @@ static void close_log(void)
void _log(const char *func, const char *file, int line, const char *format, ...)
{
MAKE_STRING("log");
- syslog(LOG_NOTICE, "%s", string);
+ syslog(LOG_INFO, "%s", string);
}
/*** print a warning to syslog ************************************************/