philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.0-logpid.patch

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