From f1eadbd0cef5a559de1e5df507b1b966e7aaf8fd Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Mon, 1 Dec 2014 14:13:45 +0100 Subject: [PATCH] mixed up = and ==... --- web/htdocs/network/map.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/htdocs/network/map.pl b/web/htdocs/network/map.pl index e4523d2..9e26e45 100755 --- a/web/htdocs/network/map.pl +++ b/web/htdocs/network/map.pl @@ -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); } } -- 2.43.0