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
@@ -391,6 +391,8 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name,
|
||||
ifstat->tx_collisions = -1;
|
||||
ifstat->tx_carrier = -1;
|
||||
|
||||
ifstat->speed = SIGAR_FIELD_NOTIMPL;
|
||||
|
||||
return SIGAR_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user