Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 62d9a13aefeac3a3917f44cf9933c2e5 > files > 1

ocsinventory-fermi-0.9.9-26.src.rpm

--- ocsinventory-client.pl.orig	2014-03-18 15:05:27.000000000 -0500
+++ ocsinventory-client.pl	2014-03-18 14:41:02.000000000 -0500
@@ -499,7 +499,7 @@
 
 	# Retrieving network settings
 	for $line (@ifconfig){
-		if($line =~ /^([ea]th\S+)/i){
+		if($line =~ /^([ea](m|th)\S+)/i){
 			defined($n)?($n++):($n = 0);
 			$request{'CONTENT'}{'NETWORKS'}[$n]{'DESCRIPTION'} = [ $1 ];
 			push @values, $1;