From 15663ef35c7ec87da7c967ba6e04e14d2776b1a2 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 7 Oct 2005 20:14:30 +0000 Subject: [PATCH] proper fallthrough to net_ifstat_get_any --- src/os/solaris/solaris_sigar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index 7f493119..ef4b4a9a 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -1883,10 +1883,10 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, } break; default: - return sigar_net_ifstat_get_any(sigar, name, ifstat); + break; } - return ENXIO; + return sigar_net_ifstat_get_any(sigar, name, ifstat); } #define TCPQ_SIZE(s) ((s) >= 0 ? (s) : 0)