[netperf-dev] netperf4 commit notice r17 - trunk/src

raj at netperf.org raj at netperf.org
Mon Nov 14 14:43:31 PST 2005


Author: raj
Date: 2005-11-14 14:43:30 -0800 (Mon, 14 Nov 2005)
New Revision: 17

Modified:
   trunk/src/netserver.c
Log:
Make daemonizing the default.  To avoid daemonizing specify -f on the
netserver commandline.  To further prevent netserver from forking after
accepting the control connection, add a second -f to the netserver 
commandline.


Modified: trunk/src/netserver.c
===================================================================
--- trunk/src/netserver.c	2005-11-11 19:54:23 UTC (rev 16)
+++ trunk/src/netserver.c	2005-11-14 22:43:30 UTC (rev 17)
@@ -104,7 +104,7 @@
 int        want_quiet;                                  /* --quiet, --silent */
 int        want_brief;                                  /* --brief */
 int        want_verbose;                                /* --verbose */
-int        forground = 1;
+int        forground = 0;
 char      *listen_port = NETPERF_DEFAULT_SERVICE_NAME;  /* --port */
 uint16_t   listen_port_num = 0;                         /* --port */
 char      *local_host_name       = NULL;



More information about the netperf-dev mailing list