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