]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
mixed up = and ==...
authorJan Michel <j.michel@gsi.de>
Mon, 1 Dec 2014 13:13:45 +0000 (14:13 +0100)
committerJan Michel <j.michel@gsi.de>
Mon, 1 Dec 2014 13:13:55 +0000 (14:13 +0100)
web/htdocs/network/map.pl

index e4523d2f0666a889ade6e3a347d61bb1d4d56fec..9e26e45e8bbf6d0e0f94e024f098856dfdff32aa 100755 (executable)
@@ -141,13 +141,13 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
         if($inclLow->{$addr}&0x30000) { #GbE
           $feat .= "\nGbE: ";
           if($inclLow->{$addr} & 0x10000) {
-            $feat .= "data sending buffer 64kB, " if(($inclLow->{$addr} & 0xc0000) = 0x40000);
-            $feat .= "data sending, "             if(($inclLow->{$addr} & 0xc0000) = 0x00000);
+            $feat .= "data sending buffer 64kB, " if(($inclLow->{$addr} & 0xc0000) == 0x40000);
+            $feat .= "data sending, "             if(($inclLow->{$addr} & 0xc0000) == 0x00000);
             }
           if($inclLow->{$addr} & 0x20000) {
-            $feat .= "slow control buffer 4kB, "  if(($inclLow->{$addr} & 0x300000) = 0x10000);
-            $feat .= "slow control buffer 64kB, " if(($inclLow->{$addr} & 0x300000) = 0x20000);
-            $feat .= "slow control, "             if(($inclLow->{$addr} & 0x300000) = 0x00000);
+            $feat .= "slow control buffer 4kB, "  if(($inclLow->{$addr} & 0x300000) == 0x10000);
+            $feat .= "slow control buffer 64kB, " if(($inclLow->{$addr} & 0x300000) == 0x20000);
+            $feat .= "slow control, "             if(($inclLow->{$addr} & 0x300000) == 0x00000);
             $feat .= "with multi-packet"          if ($inclLow->{$addr} & 0x400000);
             }
           }