Missing assignment for last commit
Aaron Marcher me@drkhsh.at
Sat, 19 May 2018 13:12:06 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
components/netspeeds.c
→
components/netspeeds.c
@@ -67,6 +67,7 @@ if (getifaddrs(&ifal) == -1) {
warn("getifaddrs failed"); return NULL; } + oldrxbytes = rxbytes; for (ifa = ifal; ifa; ifa = ifa->ifa_next) { if (!strcmp(ifa->ifa_name, interface) && (ifd = (struct if_data *)ifa->ifa_data)) {@@ -97,6 +98,7 @@ if (getifaddrs(&ifal) == -1) {
warn("getifaddrs failed"); return NULL; } + oldtxbytes = txbytes; for (ifa = ifal; ifa; ifa = ifa->ifa_next) { if (!strcmp(ifa->ifa_name, interface) && (ifd = (struct if_data *)ifa->ifa_data)) {