ui/ncurses: Add link status to system info & system config screens
[petitboot] / ui / ncurses / nc-sysinfo.c
index 142c70506aa8e833a42ec8ad4e71be1b1c3e351b..fb1954f44f0fc7d2ce498764a665e419089c9cf7 100644 (file)
@@ -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);
        }