implemented openbsd netspeed functions

implemented the netspeed functionality for openbsd.
furthermore the static keyword was removed of the interval variable in
config.def.h for usage as extern variable.
This commit is contained in:
Tobias Tschinkowitz
2018-05-19 01:29:20 +02:00
committed by Aaron Marcher
parent 176d8ff874
commit 22175f0d57
2 changed files with 60 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
static const unsigned int interval = 1000;
const unsigned int interval = 1000;
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";