Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[isc-dhcp] Add patch to fix bug which caused log messages to also print to stderr in release builds #1477

Merged
merged 1 commit into from
Mar 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 2bb21fcf4a9ad7535867809c50d2cf0ba1088e17 Mon Sep 17 00:00:00 2001
From: Joe LeVeque <[email protected]>
Date: Fri, 9 Mar 2018 01:43:35 +0000
Subject: [PATCH] [Bugfix] Don't print log messages to stderr in release builds

---
omapip/errwarn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/omapip/errwarn.c b/omapip/errwarn.c
index 7c91d9d..aa74fd8 100644
--- a/omapip/errwarn.c
+++ b/omapip/errwarn.c
@@ -39,9 +39,9 @@
#include <syslog.h>

#ifdef DEBUG
-int log_perror = -1;
-#else
int log_perror = 1;
+#else
+int log_perror = 0;
#endif
void (*log_cleanup) (void);

--
2.1.4

1 change: 1 addition & 0 deletions src/isc-dhcp/patch/series
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
0001-Customizable-Option-82-circuit-ID-and-remote-ID-fiel.patch
0002-Support-for-obtaining-name-of-physical-interface-tha.patch
0003-Support-for-loading-port-alias-map-file-to-replace-p.patch
0004-Bugfix-Don-t-print-log-messages-to-stderr-in-release.patch