diff --git a/Changes b/Changes index a4a06ce..c8dadfc 100644 --- a/Changes +++ b/Changes @@ -14,6 +14,9 @@ avoid confusion. The values set there must be the same ones that in the '/proc/diskstats' file. (thanks to Claude Nadon, claude AT ws01.info for pointing this out) +- Fixed kernel version detection in FreeBSD 10.x which affected the Network + graph. + (thanks to Sergey Andreyev, sandreyev AT gmail.com for pointing this out) 3.6.0 - 20-Aug-2014 diff --git a/lib/net.pm b/lib/net.pm index 4fcd9f9..a3e24e9 100644 --- a/lib/net.pm +++ b/lib/net.pm @@ -211,7 +211,7 @@ sub net_update { while() { if(/Link/ && /$nl[$n]/) { # Idrop column added in 8.0 - if($config->{kernel} gt "7.2") { + if($config->{kernel} > "7.2") { (undef, undef, undef, undef, $pi, $ei, undef, $bi, $po, $eo, $bo) = split(' ', $_); } else { (undef, undef, undef, undef, $pi, $ei, $bi, $po, $eo, $bo) = split(' ', $_);