]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vos: reinstate the -localauth option for vos setaddrs
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 6 Nov 2015 16:56:31 +0000 (11:56 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 18 Nov 2015 09:47:40 +0000 (04:47 -0500)
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.

Reviewed-on: http://gerrit.openafs.org/12093
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 69d11fd5ee556bb375967d7c41dab39b9c1befbe)

Change-Id: I99e6586c8d2b5e2a20bfb404099f6aed950356e7
Reviewed-on: http://gerrit.openafs.org/12094
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/volser/vos.c

index 0366efd96788dc67fb15c14e4e58c21bca1c4ed2..3922a93445be14240f414929c947d1ba01a9566d 100644 (file)
@@ -6431,12 +6431,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,
                          "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 */