sysinfo: Add interface link status to sysinfo data
authorJeremy Kerr <jk@ozlabs.org>
Mon, 16 Dec 2013 02:49:29 +0000 (10:49 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 18 Dec 2013 01:52:42 +0000 (09:52 +0800)
commitb955fa07fc256b39caedb311f97fed404a63c8d5
tree7e1e464163453eef09988287b2d0d3c40038a553
parent8b09f179fb71f13223e78ceb91f6a692053957b0
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 <jk@ozlabs.org>
discover/network.c
discover/sysinfo.c
discover/sysinfo.h
lib/pb-protocol/pb-protocol.c
lib/types/types.h