2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[master] Add configure option to incude PID in syslog entries

This commit is contained in:
Shawn Routhier
2014-05-07 12:19:33 -07:00
parent d8c7c34ef6
commit 00e9af8ee0
9 changed files with 46 additions and 5 deletions

View 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;