Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37760563
en ru br
ALT Linux repos
S:4.4.3.P1-alt1
5.0: 3.0.7-alt1
4.1: 3.0.6-alt2.M41.1
4.0: 3.0.6-alt1
3.0: 3.0.2-alt1

Group :: System/Servers
RPM: dhcp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0019-Don-t-send-log-messages-to-the-stderr-with-f-option.patch
Download


From 0 Mon Sep 17 00:00:00 2001
From: Mikhail Efremov <sem@altlinux.org>
Date: Thu, 25 Oct 2012 21:51:23 +0400
Subject: [PATCH 19] Don't send log messages to the stderr with -f option.
Applied dhcp-4.2.3-P2-log_perror.patch from Fedora.
RH bug #790387.
diff --git a/dhcp/server/dhcpd.c b/dhcp/server/dhcpd.c
index defaced..defaced 100644
--- a/dhcp/server/dhcpd.c
+++ b/dhcp/server/dhcpd.c
@@ -322,6 +322,7 @@ main(int argc, char **argv) {
 #ifndef DEBUG
 			daemon = 0;
 #endif
+			log_perror = 0;
 		} else if (!strcmp (argv [i], "-d")) {
 #ifndef DEBUG
 			daemon = 0;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin