summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2018-01-18 11:42:00 -0800
committerLee Duncan <lduncan@suse.com>2018-01-18 11:42:00 -0800
commiteb4fc984297ec4b5c64173ffd09544d518ebf62c (patch)
tree47c2b548a8af582f950a25bc1bcb5d8751d42f67 /include
parente8a5d2a86c70957b6729eb973814a43ff434569a (diff)
downloadopen-iscsi-eb4fc984297ec4b5c64173ffd09544d518ebf62c.tar.gz
Add in tracking IP prefix length, in addition to mask.
The modern IP standard stresses the IP prefix length rather than the mask, so track the IP prefix length.
Diffstat (limited to 'include')
-rw-r--r--include/fw_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fw_context.h b/include/fw_context.h
index 44053d8..88c6a02 100644
--- a/include/fw_context.h
+++ b/include/fw_context.h
@@ -60,6 +60,7 @@ struct boot_context {
/* network settings */
int nic_flags;
enum ibft_ip_prefix_origin origin;
+ int prefix;
char dhcp[NI_MAXHOST];
char iface[IF_NAMESIZE];
char mac[18];