The "fcoeadm -i" should only display HBA header per HBA,
not per-port.
---
fcoeadm_display.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fcoeadm_display.c b/fcoeadm_display.c
index 050563f..795113a 100644
--- a/fcoeadm_display.c
+++ b/fcoeadm_display.c
@@ -1223,7 +1223,8 @@ display_adapter_info(struct opt_info *opt_info)
if (opt_info->ifname &&
!strstr(port_attrs.PortSymbolicName,
opt_info->ifname))
continue;
- show_hba_info(hba_index, &hba_attrs, 0);
+ if (rc)
+ show_hba_info(hba_index, &hba_attrs, 0);
show_port_info(hba_index, lp_index, &hba_attrs,
&port_attrs);
}
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel