diff options
-rw-r--r-- | usr/host.c | 1 | ||||
-rw-r--r-- | usr/iscsiadm.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -295,6 +295,7 @@ int host_info_print(int info_level, uint32_t host_no) break; } + transport_probe_for_offload(); err = iscsi_sysfs_for_each_host(&flags, &num_found, host_info_print_tree); break; diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c index 4303135..b8f86a2 100644 --- a/usr/iscsiadm.c +++ b/usr/iscsiadm.c @@ -2240,6 +2240,8 @@ static uint32_t parse_host_info(char *optarg, int *rc) *rc = 0; if (strstr(optarg, ":")) { + transport_probe_for_offload(); + host_no = iscsi_sysfs_get_host_no_from_hwaddress(optarg, &err); if (err) { |