summaryrefslogtreecommitdiffstats
path: root/src/include/string.h
diff options
context:
space:
mode:
authorMichael Brown2011-10-28 23:32:33 +0200
committerMichael Brown2011-10-28 23:32:33 +0200
commit4f4369064b8ab1adee411f61f3cc24bd18c0d9a2 (patch)
treeee5d9542a49f07c3adc6b0a4b846440506568a03 /src/include/string.h
parent[cmdline] Make "reboot" command available by default (diff)
downloadipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.tar.gz
ipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.tar.xz
ipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.zip
[netdevice] Allow driver to preinitialise the link-layer address
Drivers are currently expected to initialise only the hardware address, with the link-layer protocol code taking care of converting this into a valid link-layer address. Some drivers (e.g. undinet) can legitimately determine both the hardware and link-layer addresses, which may differ. Allow for this situation by checking to see if the link-layer address is empty before initialising it from the hardware address. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/string.h')
0 files changed, 0 insertions, 0 deletions