summaryrefslogtreecommitdiffstats
path: root/src/net/ethernet.c
diff options
context:
space:
mode:
authorMichael Brown2012-08-30 16:58:58 +0200
committerMichael Brown2012-08-31 21:21:10 +0200
commit1cbb1581f16e235fafc963c906ad02b38d5457bd (patch)
treec05cb3f02415642952bb909a31948e905f6da000 /src/net/ethernet.c
parent[build] Add missing #include <config/local/sideband.h> (diff)
downloadipxe-1cbb1581f16e235fafc963c906ad02b38d5457bd.tar.gz
ipxe-1cbb1581f16e235fafc963c906ad02b38d5457bd.tar.xz
ipxe-1cbb1581f16e235fafc963c906ad02b38d5457bd.zip
[ethernet] Expose eth_broadcast as a global constant
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r--src/net/ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index ed1bb7a0..4fd2ab6e 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
/** Ethernet broadcast MAC address */
-static uint8_t eth_broadcast[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
+uint8_t eth_broadcast[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
/**
* Add Ethernet link-layer header