From 335756bdb3b1ebcbbb10a234e7ddd3dd4334c033 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 7 Mar 2006 01:26:27 +0000 Subject: [PATCH] add net_interface_stat.speed --- src/os/darwin/darwin_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 2d4fe1f3..fa12c5fb 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -1840,7 +1840,7 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, ifstat->tx_overruns = SIGAR_FIELD_NOTIMPL; ifstat->tx_carrier = SIGAR_FIELD_NOTIMPL; - ifstat->speed = SIGAR_FIELD_NOTIMPL; + ifstat->speed = ifm->ifm_data.ifi_baudrate; return SIGAR_OK; }