diff options
author | Vladimir Kobal <vlad@prokk.net> | 2021-03-10 21:02:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-10 21:02:45 +0200 |
commit | 720bcf495c9679725479e0bd38c2b2b828be8e6a (patch) | |
tree | 39d46f84530229091377a55eb1660794a7265b3a /libnetdata/libnetdata.h | |
parent | 6aeeb63eca08e85450434f453b9379d02255a343 (diff) |
Move network interface speed, duplex, and operstate variables to charts (#10740)
Diffstat (limited to 'libnetdata/libnetdata.h')
-rw-r--r-- | libnetdata/libnetdata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnetdata/libnetdata.h b/libnetdata/libnetdata.h index 50568b5bcf..fd36485bee 100644 --- a/libnetdata/libnetdata.h +++ b/libnetdata/libnetdata.h @@ -291,7 +291,8 @@ extern char *read_by_filename(char *filename, long *file_size); #endif #endif -#define BITS_IN_A_KILOBIT 1000 +#define BITS_IN_A_KILOBIT 1000 +#define KILOBITS_IN_A_MEGABIT 1000 /* misc. */ #define UNUSED(x) (void)(x) |