Browse Source

[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>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
a05a3613a5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/arch/i386/drivers/net/undinet.c

+ 1
- 0
src/arch/i386/drivers/net/undinet.c View File

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

Loading…
Cancel
Save