From b955fa07fc256b39caedb311f97fed404a63c8d5 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 16 Dec 2013 10:49:29 +0800 Subject: sysinfo: Add interface link status to sysinfo data This changes adds a 'link' parameter to the interface information sent in sysinfo messages. The discover network code populates this from the incoming netlink messages. Signed-off-by: Jeremy Kerr --- lib/types/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/types') diff --git a/lib/types/types.h b/lib/types/types.h index d2a2918..3a76cda 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -64,6 +64,7 @@ struct interface_info { unsigned int hwaddr_size; uint8_t *hwaddr; char *name; + bool link; }; struct blockdev_info { -- cgit v1.2.1