diff options
| author | Paul Griffiths-Todd <Paul.Griffiths-Todd@high-availability.com> | 2013-04-25 21:56:34 +0200 |
|---|---|---|
| committer | Gordon Ross <gwr@nexenta.com> | 2013-05-27 23:03:27 -0400 |
| commit | 293058931b0d2be50da82ce72d3249df01389444 (patch) | |
| tree | a7b70c657b8b8461d93d846ad05a4c02987df766 /usr/src/cmd/stmfproxy | |
| parent | e1c99a74dc27ba07cba2cd8181f462ea9a5b0dba (diff) | |
| download | illumos-joyent-293058931b0d2be50da82ce72d3249df01389444.tar.gz | |
3751 ALUA mode: "/usr/demo/comstar/bin/aluaadm enable 1" sets "ALUA Node" = 0
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: SaÊío Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/cmd/stmfproxy')
| -rw-r--r-- | usr/src/cmd/stmfproxy/aluaadm/aluaadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c b/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c index 5fa1504793..3a8a21705f 100644 --- a/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c +++ b/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c @@ -171,7 +171,7 @@ enableAluaFunc(int operandLen, char *operands[], cmdOptions_t *options, void *args) { uint8_t node_id = 0; - if (operands[0][1] == '1') { + if (operands[0][0] == '1') { node_id = 1; } return (stmfSetAluaState(B_TRUE, node_id)); |
