Missing assignment for last commit
This commit is contained in:
parent
e3ccac3298
commit
a37224bf7b
@ -67,6 +67,7 @@
|
|||||||
warn("getifaddrs failed");
|
warn("getifaddrs failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
oldrxbytes = rxbytes;
|
||||||
for (ifa = ifal; ifa; ifa = ifa->ifa_next) {
|
for (ifa = ifal; ifa; ifa = ifa->ifa_next) {
|
||||||
if (!strcmp(ifa->ifa_name, interface) &&
|
if (!strcmp(ifa->ifa_name, interface) &&
|
||||||
(ifd = (struct if_data *)ifa->ifa_data)) {
|
(ifd = (struct if_data *)ifa->ifa_data)) {
|
||||||
@ -97,6 +98,7 @@
|
|||||||
warn("getifaddrs failed");
|
warn("getifaddrs failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
oldtxbytes = txbytes;
|
||||||
for (ifa = ifal; ifa; ifa = ifa->ifa_next) {
|
for (ifa = ifal; ifa; ifa = ifa->ifa_next) {
|
||||||
if (!strcmp(ifa->ifa_name, interface) &&
|
if (!strcmp(ifa->ifa_name, interface) &&
|
||||||
(ifd = (struct if_data *)ifa->ifa_data)) {
|
(ifd = (struct if_data *)ifa->ifa_data)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user