From 0d3caaf8e9a75e9b6ebc9427c75ed2914c60439d Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Mon, 19 Dec 2016 15:56:49 +1100 Subject: 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 --- test/parser/handler.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/parser/handler.c') 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) { -- cgit v1.2.1