david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[undi] Use current (rather than permanent) link-layer address

Requested-by: Savitha Hiriyannaia <Savitha.Hiriyannaiah@emulex.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2011-10-28 22:38:26 +01:00
parent 4f4369064b
commit a05a3613a5
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ int undinet_probe ( struct undi_device *undi ) {
&undi_info, sizeof ( undi_info ) ) ) != 0 )
goto err_undi_get_information;
memcpy ( netdev->hw_addr, undi_info.PermNodeAddress, ETH_ALEN );
memcpy ( netdev->ll_addr, undi_info.CurrentNodeAddress, ETH_ALEN );
undinic->irq = undi_info.IntNumber;
if ( undinic->irq > IRQ_MAX ) {
DBGC ( undinic, "UNDINIC %p has invalid IRQ %d\n",