Mercurial > illumos > illumos-gate
changeset 14033:10b779d783d1
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>
author | Paul Griffiths-Todd <Paul.Griffiths-Todd@high-availability.com> |
---|---|
date | Thu, 25 Apr 2013 21:56:34 +0200 |
parents | 9992f781c89a |
children | 63225a03be3f |
files | usr/src/cmd/stmfproxy/aluaadm/aluaadm.c usr/src/man/man1m/stmfadm.1m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c Fri May 24 12:35:17 2013 -0500 +++ b/usr/src/cmd/stmfproxy/aluaadm/aluaadm.c Thu Apr 25 21:56:34 2013 +0200 @@ -171,7 +171,7 @@ 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));