]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - dhcpctl/omshell.c
[master] Add configure option to incude PID in syslog entries
[thirdparty/dhcp.git] / dhcpctl / omshell.c
index 47e5d0bea0c8e5bd61954c00ba32233c2a84b344..44fd2726d6c07cb93fe72c907d8c00c29756ab4d 100644 (file)
@@ -100,7 +100,7 @@ main(int argc, char **argv) {
        }
 
        /* Initially, log errors to stderr as well as to syslogd. */
-       openlog ("omshell", LOG_NDELAY, DHCPD_LOG_FACILITY);
+       openlog ("omshell", DHCP_LOG_OPTIONS, DHCPD_LOG_FACILITY);
        status = dhcpctl_initialize ();
        if (status != ISC_R_SUCCESS) {
                fprintf (stderr, "dhcpctl_initialize: %s\n",