]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - includes/dhcpd.h
[master] Add configure option to incude PID in syslog entries
[thirdparty/dhcp.git] / includes / dhcpd.h
index da25a7f9a3076c243ffc1ba08b27fcffe84bb749..7eb7980e4b7c501d1f6b8c49d7ed17611c2b1429 100644 (file)
@@ -1484,6 +1484,12 @@ typedef unsigned char option_mask [16];
 #define MAX_TIME 0x7fffffff
 #define MIN_TIME 0
 
+#ifdef USE_LOG_PID
+/* include the pid in the syslog messages */
+#define DHCP_LOG_OPTIONS LOG_NDELAY | LOG_PID
+#else
+#define DHCP_LOG_OPTIONS LOG_NDELAY
+#endif
                                                /* these are referenced */
 typedef struct hash_table ia_hash_t;
 typedef struct hash_table iasubopt_hash_t;