summaryrefslogtreecommitdiff
path: root/netspeed/src
diff options
context:
space:
mode:
authortreysis <[email protected]>2020-12-22 02:02:20 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2020-12-22 07:06:02 +0100
commit221527986bdae3c4140be05725cb858cd8dae0d0 (patch)
treee1a800bbdb573a1bf9e8a205369a9672c79be431 /netspeed/src
parentc47ffa433de0dbf94d57aacbccac5c0cb440951d (diff)
downloadmate-applets-221527986bdae3c4140be05725cb858cd8dae0d0.tar.bz2
mate-applets-221527986bdae3c4140be05725cb858cd8dae0d0.tar.xz
netspeed: improve display of IPv6 addresses in device details.
Diffstat (limited to 'netspeed/src')
-rw-r--r--netspeed/src/backend.c4
1 files changed, 2 insertions, 2 deletions
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;