From 7b3b51e97a53800c9848600d8cdfbfd733219fb3 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Wed, 31 May 2017 16:58:16 -0700 Subject: [PATCH] another small oversight, failed to properly assign array separators for ipv6 extra ips. --- inxi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 6da31c3..857372e 100755 --- a/inxi +++ b/inxi @@ -8205,8 +8205,13 @@ get_networking_local_ip_data() ifIpV6 = ifIpV6 "^" addIpV6 } } - if ( ipExtV6 != "" ){ - ipExtV6 = ipExtV6 "^" addExtV6 + if (addExtV6 != "" ) + if ( ipExtV6 == "" ){ + ipExtV6 = addExtV6 + } + else { + ipExtV6 = ipExtV6 "^" addExtV6 + } } } # slice off the digits that are sometimes tacked to the end of the address,