branch one, should be one of last tests before putting networking updates/fixes in new stable.

This commit is contained in:
inxi-svn 2014-08-07 20:14:47 +00:00
parent 161ab937b7
commit c114aff914

9
inxi
View file

@ -2,8 +2,8 @@
########################################################################
#### Script Name: inxi
#### Version: 2.1.28
#### Date: 2014-07-25
#### Patch Number: 06-b1
#### Date: 2014-08-07
#### Patch Number: 07-b1
########################################################################
#### SPECIAL THANKS
########################################################################
@ -3467,7 +3467,7 @@ get_audio_data()
else if (/kernel modules:/) {
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
}
else if (/I\/O/) {
else if (/^[[:space:]]*I\/O/) {
portsTemp = gensub(/\t*I\/O ports at (.*) \[.*\]/,"\\1","g",$0)
ports[audioCard] = ports[audioCard] portsTemp " "
}
@ -6321,6 +6321,7 @@ get_module_version_number()
eval $LOGFE
}
## create array of network cards
get_networking_data()
{
@ -6352,7 +6353,7 @@ get_networking_data()
eth[nic]++
while ( getline && !/^$/ ) {
gsub(/,/, "", $0)
if ( /I\/O/ ) {
if ( /^[[:space:]]*I\/O/ ) {
ports[nic] = ports[nic] $4 " "
}
if ( /driver in use/ ) {