diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-12-16 13:20:01 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-12-18 09:52:42 +0800 |
commit | df46fcfe4867fd16729bb10dfb82dcd43595c6c2 (patch) | |
tree | e1a086150319b7d9ad35910424deaf05d11c5db5 /ui/ncurses/nc-sysinfo.c | |
parent | 675d604772d99346e804b120c0c27cced985899a (diff) | |
download | talos-petitboot-df46fcfe4867fd16729bb10dfb82dcd43595c6c2.tar.gz talos-petitboot-df46fcfe4867fd16729bb10dfb82dcd43595c6c2.zip |
ui/ncurses: Add link status to system info & system config screens
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-sysinfo.c')
-rw-r--r-- | ui/ncurses/nc-sysinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c index 142c705..fb1954f 100644 --- a/ui/ncurses/nc-sysinfo.c +++ b/ui/ncurses/nc-sysinfo.c @@ -175,7 +175,8 @@ static void sysinfo_screen_populate(struct sysinfo_screen *screen, if_info_mac_str(info, macbuf, sizeof(macbuf)); line("%s:", info->name); - line(" MAC: %s", macbuf); + line(" MAC: %s", macbuf); + line(" link: %s", info->link ? "up" : "down"); line(NULL); } |