diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index 4d312c50..06f54610 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -2140,7 +2140,7 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, ifstat->tx_collisions = data.if_collisions; ifstat->tx_carrier = SIGAR_FIELD_NOTIMPL; - ifstat->speed = SIGAR_FIELD_NOTIMPL; + ifstat->speed = data.if_baudrate; return SIGAR_OK; } diff --git a/src/os/hpux/hpux_sigar.c b/src/os/hpux/hpux_sigar.c index b298d475..c807b4c1 100644 --- a/src/os/hpux/hpux_sigar.c +++ b/src/os/hpux/hpux_sigar.c @@ -786,7 +786,7 @@ int 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 = SIGAR_FIELD_NOTIMPL; + ifstat->speed = mib.ifSpeed; return SIGAR_OK; }