]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
fix network map number of SFP
authorJan Michel <j.michel@gsi.de>
Mon, 12 Mar 2018 12:27:47 +0000 (13:27 +0100)
committerJan Michel <j.michel@gsi.de>
Mon, 12 Mar 2018 12:27:57 +0000 (13:27 +0100)
web/htdocs/network/map.pl

index 9e0707c605a57c49edaf41f702437be4fa68f989..c5f17e9172ed38c331e56ca5eea56eaeb1911cba 100755 (executable)
@@ -159,7 +159,7 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
                 $feat .= "with multi-packet"          if ($inclLow->{$addr} & 0x400000);
             }
           }
-          $feat .= "\nHub: ".(($inclLow->{$addr}>>24)&0x7)." SFPs";  
+          $feat .= "\nHub: ".(($inclLow->{$addr}>>24)&0xf)." SFPs";  
         }
       if($table == 2) {
           if($inclLow->{$addr}&0x8000) {  # ||1 just because this not implemented yet in the test design..