Date: Sun, 14 Apr 1996 04:14:11 +1000 From: Bruce Evans <bde@zeta.org.au> To: joerg_wunsch@uriah.heep.sax.de, scrappy@ki.net Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, mark@grondar.za, scrappy@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/nfsd nfsd.c Message-ID: <199604131814.EAA14571@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> Unless otherwise specified, four servers for UDP transport are started. I think this says that 4 servers for UDP transport are started _if UDP service is enabled_. Now UDP is always enabled unless nfsd is execed in an unusual way to get argc == 0. Bruce *** nfsd.c~ Sat Apr 13 20:31:54 1996 --- nfsd.c Sat Apr 13 20:37:20 1996 *************** *** 195,198 **** --- 195,200 ---- #define USAGE "[-rtu] [-n num_servers]" #endif + if (argc <= 1) + udpflag = 1; while ((ch = getopt(argc, argv, GETOPT)) != EOF) switch (ch) { *************** *** 230,234 **** usage(); }; - if(argc) udpflag = 1; argv += optind; argc -= optind; --- 232,235 ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604131814.EAA14571>