philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

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

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