another small oversight, failed to properly assign array separators for ipv6 extra ips.

This commit is contained in:
Harald Hope 2017-05-31 16:58:16 -07:00
parent 8cf20a2c62
commit 7b3b51e97a

9
inxi
View file

@ -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,