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)