Commit 2343b2ce authored by kaox2's avatar kaox2 Committed by Daniel Verkamp
Browse files

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

The number of hosts are not updated after parsing.
parent f4015573
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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");