philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.0-logpid.patch

54343e
diff -up dhcp-4.2.0/client/dhclient.c.logpid dhcp-4.2.0/client/dhclient.c
54343e
--- dhcp-4.2.0/client/dhclient.c.logpid	2010-07-21 16:13:52.000000000 +0200
54343e
+++ dhcp-4.2.0/client/dhclient.c	2010-07-21 16:16:51.000000000 +0200
54343e
@@ -154,7 +154,7 @@ main(int argc, char **argv) {
54343e
 	else if (fd != -1)
54343e
 		close(fd);
54343e
 
54343e
-	openlog("dhclient", LOG_NDELAY, LOG_DAEMON);
54343e
+	openlog("dhclient", LOG_NDELAY | LOG_PID, LOG_DAEMON);
54343e
 
54343e
 #if !(defined(DEBUG) || defined(__CYGWIN32__))
54343e
 	setlogmask(LOG_UPTO(LOG_INFO));