]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[iscsi] Include IP address origin in iBFT
authorMichael Brown <mcb30@ipxe.org>
Thu, 12 Jun 2014 15:05:48 +0000 (16:05 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 12 Jun 2014 16:09:16 +0000 (17:09 +0100)
commitd5cf0589940c1cfd5907a2fd8183064ec2244617
tree036fcca516b8cc6968b519a19446bcad4f67748d
parent059adae43429ca407e01cb8b66e9d7dc360740a8
[iscsi] Include IP address origin in iBFT

The iBFT includes an "origin" field to indicate the source of the IP
address.  We use the heuristic of assuming that the source should be
"manual" if the IP address originates directly from the network device
settings block, and "DHCP" otherwise.  This is an imperfect guess, but
is likely to be correct in most common situations.

Originally-implemented-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/block/ibft.c
src/include/ipxe/ibft.h