Skip to content

Commit 8d78784

Browse files
authored
Merge pull request #325 from martin-belanger/fix-dim-tas
fabrics: Invoke nvmf_dim() with provided tas argument.
2 parents 3fd78f6 + 73c397c commit 8d78784

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/nvme/fabrics.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,5 @@ int nvmf_register_ctrl(nvme_ctrl_t c, enum nvmf_dim_tas tas, __u32 *result)
13061306
* to retrieve the source address from the socket and use that
13071307
* as the registration address.
13081308
*/
1309-
return nvmf_dim(c, NVMF_DIM_TAS_REGISTER, NVMF_TRTYPE_TCP,
1310-
nvme_get_adrfam(c), "", NULL, result);
1309+
return nvmf_dim(c, tas, NVMF_TRTYPE_TCP, nvme_get_adrfam(c), "", NULL, result);
13111310
}

0 commit comments

Comments
 (0)