philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.3-P2-log_perror.patch

c8bb8f
diff -up dhcp-4.2.3-P2/server/dhcpd.c.log_perror dhcp-4.2.3-P2/server/dhcpd.c
c8bb8f
--- dhcp-4.2.3-P2/server/dhcpd.c.log_perror	2012-02-22 14:24:57.000000000 +0100
c8bb8f
+++ dhcp-4.2.3-P2/server/dhcpd.c	2012-02-22 14:29:09.964576687 +0100
c8bb8f
@@ -315,6 +315,7 @@ main(int argc, char **argv) {
c8bb8f
 #ifndef DEBUG
c8bb8f
 			daemon = 0;
c8bb8f
 #endif
c8bb8f
+			log_perror = 0;
c8bb8f
 		} else if (!strcmp (argv [i], "-d")) {
c8bb8f
 #ifndef DEBUG
c8bb8f
 			daemon = 0;