diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-19 15:56:49 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-20 16:40:22 +1100 |
commit | 0d3caaf8e9a75e9b6ebc9427c75ed2914c60439d (patch) | |
tree | 02b8930345eea0a0e0c11673ffac1cfe22495afc /lib/types/types.h | |
parent | f901ce58f58ad4f7d769140fe98426e5ac9f7759 (diff) | |
download | petitboot-0d3caaf8e9a75e9b6ebc9427c75ed2914c60439d.zip petitboot-0d3caaf8e9a75e9b6ebc9427c75ed2914c60439d.tar.gz |
discover: Record IP address of network interfaces
If an interface has a valid IP address (either via DHCP or static
config) store it in the interface_info struct so it can be referenced
later.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r-- | lib/types/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h index 63f1b21..13ff7fc 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -89,6 +89,7 @@ struct interface_info { uint8_t *hwaddr; char *name; bool link; + char *address; }; struct blockdev_info { |