summaryrefslogtreecommitdiffstats
path: root/ui/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses')
-rw-r--r--ui/ncurses/nc-sysinfo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c
index ce8957c..8252b45 100644
--- a/ui/ncurses/nc-sysinfo.c
+++ b/ui/ncurses/nc-sysinfo.c
@@ -129,10 +129,11 @@ 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(_(" IP Address: %s"), info->address ?: _("none"));
/* TRANSLATORS: these "up" / "down" strings refer to the
* link status for a network connection. */
- line(_(" link: %s"), info->link ? _("up") : _("down"));
+ line(_(" link: %s"), info->link ? _("up") : _("down"));
line(NULL);
}
OpenPOWER on IntegriCloud