From: Mark Vitale Date: Tue, 16 Jul 2013 21:27:05 +0000 (-0400) Subject: volser: repair volserver -udpsize and -sleep options X-Git-Tag: upstream/1.8.0_pre1^2~1046 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=af2fa3c56ff21529739c4cf795948b8711d09c80;p=packages%2Fo%2Fopenafs.git volser: repair volserver -udpsize and -sleep options commit cd3492d0635708f141dbb9230471434268ef2188 accidentally broke the parsing of the volserver -udpsize and -sleep options. Change-Id: Ia900e4d8fda1b4d5759b46932a4b62bf5591707b Reviewed-on: http://gerrit.openafs.org/10088 Tested-by: BuildBot Reviewed-by: Marc Dionne Reviewed-by: Derrick Brashear --- diff --git a/src/volser/volmain.c b/src/volser/volmain.c index 133284c92..9a6c111e3 100644 --- a/src/volser/volmain.c +++ b/src/volser/volmain.c @@ -310,7 +310,7 @@ ParseArgs(int argc, char **argv) { CMD_OPTIONAL, "maximum MTU for RX"); cmd_AddParmAtOffset(opts, OPT_udpsize, "-udpsize", CMD_SINGLE, CMD_OPTIONAL, "size of socket buffer in bytes"); - cmd_AddParmAtOffset(opts, OPT_udpsize, "-sleep", CMD_SINGLE, + cmd_AddParmAtOffset(opts, OPT_sleep, "-sleep", CMD_SINGLE, CMD_OPTIONAL, "make background daemon sleep (LWP only)"); cmd_AddParmAtOffset(opts, OPT_peer, "-enable_peer_stats", CMD_FLAG, CMD_OPTIONAL, "enable RX transport statistics");