Skip to content

Commit 7db951f

Browse files
authored
Merge pull request #98 from martin-belanger/fix-iface-offset
Fix host_iface offset.
2 parents 0ed3550 + e6b2258 commit 7db951f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ static nvme_ctrl_t nvme_ctrl_alloc(nvme_subsystem_t s, const char *path,
11931193
else if (!strncmp(a, "host_traddr=", 12))
11941194
host_traddr = a + 12;
11951195
else if (!strncmp(a, "host_iface=", 11))
1196-
host_iface = a + 12;
1196+
host_iface = a + 11;
11971197
a = strtok_r(NULL, ",", &e);
11981198
}
11991199
}

0 commit comments

Comments
 (0)