[radvd-devel-l] [PATCH] Add L_STDERR_SYSLOG to log_close.

Jim Paris jim at jtan.com
Wed Jan 23 21:32:25 EST 2008


Add L_STDERR_SYSLOG to log_close to avoid "unknown logging method"
warning.

Signed-off-by: Jim Paris <jim at jtan.com>
---
 log.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/log.c b/log.c
index fdabcb2..f3cf4bb 100644
--- a/log.c
+++ b/log.c
@@ -144,6 +144,7 @@ log_close(void)
 		case L_NONE:
 		case L_STDERR:
 			break;
+		case L_STDERR_SYSLOG:
 		case L_SYSLOG:
 			closelog();
 			break;
-- 
1.5.3.4



More information about the radvd-devel-l mailing list