diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-07-17 22:48:31 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-07-17 23:02:48 +0100 |
commit | d09290161e33574d8f0fa900ebe739214d17fe1a (patch) | |
tree | 9cb59387262344ed50fc755362154206017ab220 /src/arch | |
parent | 54ec3673cc319a5646c21a87bbf41198b1f462b5 (diff) | |
download | ipxe-d09290161e33574d8f0fa900ebe739214d17fe1a.tar.gz |
[netdevice] Make ll_broadcast per-netdevice rather than per-ll_protocol
IPoIB has a link-layer broadcast address that varies according to the
partition key. We currently go through several contortions to pretend
that the link-layer address is a fixed constant; by making the
broadcast address a property of the network device rather than the
link-layer protocol it will be possible to simplify IPoIB's broadcast
handling.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/interface/pxe/pxe_undi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_undi.c b/src/arch/i386/interface/pxe/pxe_undi.c index bd387ea5..4dcae44e 100644 --- a/src/arch/i386/interface/pxe/pxe_undi.c +++ b/src/arch/i386/interface/pxe/pxe_undi.c @@ -300,7 +300,7 @@ PXENV_EXIT_t pxenv_undi_transmit ( struct s_PXENV_UNDI_TRANSMIT ll_dest = destaddr; DBG2 ( " DEST %s", ll_protocol->ntoa ( ll_dest ) ); } else { - ll_dest = ll_protocol->ll_broadcast; + ll_dest = pxe_netdev->ll_broadcast; DBG2 ( " BCAST" ); } |