Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Kieltux:tools
mrtg
mrtg-cfgmaker-ifhighspeed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mrtg-cfgmaker-ifhighspeed.patch of Package mrtg
diff -Nur mrtg-2.17.10/bin/cfgmaker new/bin/cfgmaker --- mrtg-2.17.10/bin/cfgmaker 2022-01-19 11:25:15.000000000 +0100 +++ new/bin/cfgmaker 2022-01-23 15:37:33.910877354 +0100 @@ -224,7 +224,7 @@ # maximum value (4,294,967,295) and ifHighSpeed must be used # to report the interface's speed. For a sub-layer which has # no concept of bandwidth, this object should be zero." - if ( (not defined $value) || ($value == 2**32-1) ) { + if ( (not defined $value) || ($value == 2**32-1) || ($value == 2**32-2)) { ($if, $value) = split /:/, $ifHighSpeed[$i], 2; $value = $value * 1000000; # highSpeed = contador * 10^6 debug('base',"Speed: $if - $value");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor