From 08f8488096f397a1babc960bb9939484a3916c66 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Wed, 23 May 2018 16:25:25 +1000 Subject: discover/sysinfo: Set IPv6 addresses Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/nc-sysinfo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/ncurses/nc-sysinfo.c') diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c index 8252b45..756f15d 100644 --- a/ui/ncurses/nc-sysinfo.c +++ b/ui/ncurses/nc-sysinfo.c @@ -131,6 +131,9 @@ static void sysinfo_screen_populate(struct sysinfo_screen *screen, line("%s:", info->name); line(_(" MAC: %s"), macbuf); line(_(" IP Address: %s"), info->address ?: _("none")); + if (info->address_v6) + line(_(" IPv6 Address: %s"), + info->address_v6 ?: _("none")); /* TRANSLATORS: these "up" / "down" strings refer to the * link status for a network connection. */ line(_(" link: %s"), info->link ? _("up") : _("down")); -- cgit v1.2.1