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 /test | |
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 'test')
-rw-r--r-- | test/parser/handler.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/parser/handler.c b/test/parser/handler.c index 43e9d71..e356407 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -38,6 +38,14 @@ void discover_server_notify_boot_status(struct discover_server *server, (void)status; } +void system_info_set_interface_address(unsigned int hwaddr_size, + uint8_t *hwaddr, const char *address) +{ + (void)hwaddr_size; + (void)hwaddr; + (void)address; +} + void discover_server_notify_config(struct discover_server *server, struct config *config) { |