diff options
author | Lee Duncan <lduncan@suse.com> | 2018-01-18 11:42:00 -0800 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2018-01-18 11:42:00 -0800 |
commit | eb4fc984297ec4b5c64173ffd09544d518ebf62c (patch) | |
tree | 47c2b548a8af582f950a25bc1bcb5d8751d42f67 /include | |
parent | e8a5d2a86c70957b6729eb973814a43ff434569a (diff) | |
download | open-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.h | 1 |
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]; |