add net_interface_stat.speed
This commit is contained in:
1 parent
372c09119d
commit
9f5ad58812
10 files changed
+20
-1
No files matched your search
@@ -2018,6 +2018,8 @@ sigar_net_interface_stat_get(sigar_t *sigar, const char *name,
|
||||
ifstat->tx_collisions = SIGAR_FIELD_NOTIMPL;
|
||||
ifstat->tx_carrier = SIGAR_FIELD_NOTIMPL;
|
||||
|
||||
ifstat->speed = ifr->dwSpeed;
|
||||
|
||||
return SIGAR_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user