mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
[fc] Ignore fabric-assigned port ID for fabricless implicit logouts
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -907,8 +907,9 @@ int fc_port_login ( struct fc_port *port, struct fc_port_id *port_id,
|
||||
sizeof ( port->link_node_wwn ) ) != 0 ) ||
|
||||
( memcmp ( &port->link_port_wwn, link_port_wwn,
|
||||
sizeof ( port->link_port_wwn ) ) != 0 ) ||
|
||||
( has_fabric &&
|
||||
( memcmp ( &port->port_id, port_id,
|
||||
sizeof ( port->port_id ) ) != 0 ) ) ) {
|
||||
sizeof ( port->port_id ) ) != 0 ) ) ) ) {
|
||||
fc_port_logout ( port, 0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user