]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[undi] Use current (rather than permanent) link-layer address
authorMichael Brown <mcb30@ipxe.org>
Fri, 28 Oct 2011 21:38:26 +0000 (22:38 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 28 Oct 2011 21:41:15 +0000 (22:41 +0100)
Requested-by: Savitha Hiriyannaia <Savitha.Hiriyannaiah@emulex.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/drivers/net/undinet.c

index 5cfceda75fabe2eabc6aaad6fedc4a6b8692c3bd..c391469f8ed58d8b588ba023e297294215e4527c 100644 (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",