diff options
author | Michael Brown | 2010-10-15 02:06:08 +0200 |
---|---|---|
committer | Michael Brown | 2010-10-15 02:54:48 +0200 |
commit | 60b690141eaa8c736ab06500e6adfc9413c9b7f7 (patch) | |
tree | c17abac475867c7b34360f8c4786b059d9c3c63f /src/net/fcels.c | |
parent | [fcoe] Request SPMA iff FIP advertisement indicates support for SPMA (diff) | |
download | ipxe-60b690141eaa8c736ab06500e6adfc9413c9b7f7.tar.gz ipxe-60b690141eaa8c736ab06500e6adfc9413c9b7f7.tar.xz ipxe-60b690141eaa8c736ab06500e6adfc9413c9b7f7.zip |
[fc] Use port WWN rather than node WWN as the primary Fibre Channel name
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcels.c')
-rw-r--r-- | src/net/fcels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/fcels.c b/src/net/fcels.c index ef809ad8..15049164 100644 --- a/src/net/fcels.c +++ b/src/net/fcels.c @@ -677,7 +677,7 @@ static int fc_els_plogi_rx ( struct fc_els *els, const void *data, fc_id_ntoa ( &els->peer_port_id ) ); /* Get peer */ - peer = fc_peer_get_wwn ( &plogi->node_wwn ); + peer = fc_peer_get_wwn ( &plogi->port_wwn ); if ( ! peer ) { DBGC ( els, FCELS_FMT " could not create peer\n", FCELS_ARGS ( els ) ); |