From 221527986bdae3c4140be05725cb858cd8dae0d0 Mon Sep 17 00:00:00 2001 From: treysis Date: Tue, 22 Dec 2020 02:02:20 +0100 Subject: netspeed: improve display of IPv6 addresses in device details. --- netspeed/src/backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netspeed/src') diff --git a/netspeed/src/backend.c b/netspeed/src/backend.c index 5eb67319..9fcfa226 100644 --- a/netspeed/src/backend.c +++ b/netspeed/src/backend.c @@ -174,8 +174,8 @@ get_ip_address_list (const char *iface_name, } list = g_slist_prepend (list, - g_strdup_printf ("%s: %s/%u", - scope, ip, netmask)); + g_strdup_printf ("%s/%u (%s)", + ip, netmask, scope)); } else { struct sockaddr_in ip4_addr; struct sockaddr_in ip4_network; -- cgit v1.2.1