diff options
| -rwxr-xr-x | web/api/public/switch-state | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/switch-state b/web/api/public/switch-state index 7e696e5..5d8be0a 100755 --- a/web/api/public/switch-state +++ b/web/api/public/switch-state @@ -44,7 +44,7 @@ while ( my $ref = $q->fetchrow_hashref() ) {  			$json{'switches'}{$sysname}{ifs}{$smallport}{'ifAlias'} = $port{'ifAlias'};  		}  		if ($data{'ports'}{$porti}{'ifType'} ne "propVirtual" and -		    $data{'ports'}{$porti}{'ifAlias'} =~ m/Fysisk/i) { +		    $data{'ports'}{$porti}{'ifAlias'} =~ m/G:/i) {  			if ($port{'ifAdminStatus'} eq "up") {  				$json{'switches'}{$sysname}{'uplinks'}{'ifHCInOctets'} += $port{'ifHCInOctets'};  				$json{'switches'}{$sysname}{'uplinks'}{'ifHCOutOctets'} += $port{'ifHCOutOctets'};  | 
