diff options
author | Hannes Reinecke <hare@suse.de> | 2014-07-01 11:14:57 +0200 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2014-09-04 18:15:21 -0500 |
commit | 78e24f50ab754f35f4aa208ade7c9fd794d82036 (patch) | |
tree | ddbb9045d87af699f0705e5610d99990c2f45ac9 /include/fw_context.h | |
parent | 21a7923de5b2f968643c2ffd96e5c9fb1b201fa3 (diff) | |
download | open-iscsi-78e24f50ab754f35f4aa208ade7c9fd794d82036.tar.gz |
Parse 'origin' value from iBFT
iBFT has an 'origin' field which indicates the origin of the
network address. If that is set to '3' it indicates that
DHCP has been used; there is no need to evaluate the 'dhcp'
field here.
In fact. latest iPXE sets the 'origin' field, but not the
'dhcp' field.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include/fw_context.h')
-rw-r--r-- | include/fw_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fw_context.h b/include/fw_context.h index 6563d68..295b54d 100644 --- a/include/fw_context.h +++ b/include/fw_context.h @@ -48,6 +48,7 @@ struct boot_context { char initiatorname[TARGET_NAME_MAXLEN + 1]; /* network settings */ + char origin[2]; char dhcp[NI_MAXHOST]; char iface[IF_NAMESIZE]; char mac[18]; |