From: Michael Meffie Date: Fri, 6 Nov 2015 16:56:31 +0000 (-0500) Subject: vos: reinstate the -localauth option for vos setaddrs X-Git-Tag: openafs-stable-1_8_0pre1~214 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=69d11fd5ee556bb375967d7c41dab39b9c1befbe vos: reinstate the -localauth option for vos setaddrs Commit d1d411576cf39c4bc55918df0eb64327718d566c added the vos remaddrs subcommand, but unfortunately stole the common parameters from setaddrs. Fix this bug and remove the extra blank line between the subcommand syntax and the common params macro. Change-Id: I1171bfadec08ac34679204f0a9245d76c468cafa Reviewed-on: http://gerrit.openafs.org/12093 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- diff --git a/src/volser/vos.c b/src/volser/vos.c index 3c204ef..f12312e 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -6377,12 +6377,13 @@ main(int argc, char **argv) "set the list of IP addresses for a given UUID in the VLDB"); cmd_AddParm(ts, "-uuid", CMD_SINGLE, 0, "uuid of server"); cmd_AddParm(ts, "-host", CMD_LIST, 0, "address of host"); + COMMONPARMS; ts = cmd_CreateSyntax("remaddrs", RemoveAddrs, NULL, 0, "remove the list of IP addresses for a given UUID in the VLDB"); cmd_AddParm(ts, "-uuid", CMD_SINGLE, 0, "uuid of server"); - COMMONPARMS; + code = cmd_Dispatch(argc, argv); if (rxInitDone) { /* Shut down the ubik_client and rx connections */