mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
another small oversight, failed to properly assign array separators for ipv6 extra ips.
This commit is contained in:
parent
8cf20a2c62
commit
7b3b51e97a
7
inxi
7
inxi
|
@ -8205,10 +8205,15 @@ get_networking_local_ip_data()
|
||||||
ifIpV6 = ifIpV6 "^" addIpV6
|
ifIpV6 = ifIpV6 "^" addIpV6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( ipExtV6 != "" ){
|
if (addExtV6 != "" )
|
||||||
|
if ( ipExtV6 == "" ){
|
||||||
|
ipExtV6 = addExtV6
|
||||||
|
}
|
||||||
|
else {
|
||||||
ipExtV6 = ipExtV6 "^" addExtV6
|
ipExtV6 = ipExtV6 "^" addExtV6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
# slice off the digits that are sometimes tacked to the end of the address,
|
# slice off the digits that are sometimes tacked to the end of the address,
|
||||||
# like: /64 or /24
|
# like: /64 or /24
|
||||||
sub(/\/[0-9]+/, "", ifIp)
|
sub(/\/[0-9]+/, "", ifIp)
|
||||||
|
|
Loading…
Reference in a new issue