mirror of
https://github.com/pikami/slstatus.git
synced 2025-12-20 09:29:50 +00:00
Add FreeBSD support for netspeeds, entropy and ip components
This commit is contained in:
committed by
Aaron Marcher
parent
b6d0bd2fe4
commit
86849d295b
@@ -58,7 +58,7 @@
|
||||
return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
|
||||
1024);
|
||||
}
|
||||
#elif defined(__OpenBSD__)
|
||||
#elif defined(__OpenBSD__) | defined(__FreeBSD__)
|
||||
#include <string.h>
|
||||
#include <ifaddrs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user