3751 ALUA mode: "/usr/demo/comstar/bin/aluaadm enable 1" sets "ALUA Node" = 0 Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
@@ -169,11 +169,11 @@ static int 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)); }