conf.c: update num_hosts after parsing. (#125)

The number of hosts are not updated after parsing.
This commit is contained in:
kaox2 2017-02-25 07:07:02 +08:00 committed by Daniel Verkamp
parent f401557392
commit 2343b2ce22

View File

@ -380,6 +380,7 @@ spdk_nvmf_parse_subsystem(struct spdk_conf_section *sp)
break;
}
}
num_hosts = i;
bdf = spdk_conf_section_get_val(sp, "NVMe");
sn = spdk_conf_section_get_val(sp, "SN");