summaryrefslogtreecommitdiff
path: root/rpcapd
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-01-07 14:24:42 -0800
committerGuy Harris <guy@alum.mit.edu>2019-01-07 14:24:42 -0800
commitf3a833ea74fdc05a5445424db306949979b5f30c (patch)
tree50ead8c8ef9266b8a4410687ed22dd28eae4ef55 /rpcapd
parentdb1104b9632642bfadfa4e2e2b772ac1265fb280 (diff)
downloadlibpcap-f3a833ea74fdc05a5445424db306949979b5f30c.tar.gz
Default to logging to the standard error, not the system log.
Only if it thinks it's being run as a daemon should rpcapd log to the system log.
Diffstat (limited to 'rpcapd')
-rw-r--r--rpcapd/rpcapd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpcapd/rpcapd.c b/rpcapd/rpcapd.c
index d1f15823..1aa83758 100644
--- a/rpcapd/rpcapd.c
+++ b/rpcapd/rpcapd.c
@@ -171,7 +171,7 @@ static void printusage(void)
int main(int argc, char *argv[])
{
char savefile[MAX_LINE + 1]; // name of the file on which we have to save the configuration
- int log_to_systemlog = 1; // Non-zero if we should log to the "system log" rather than the standard error
+ int log_to_systemlog = 0; // Non-zero if we should log to the "system log" rather than the standard error
int isdaemon = 0; // Non-zero if the user wants to run this program as a daemon
#ifndef _WIN32
int isrunbyinetd = 0; // Non-zero if this is being run by inetd or something inetd-like