fix net_listen caching
This commit is contained in:
parent
84f5dd1ca5
commit
c6cad78da2
|
@ -865,7 +865,7 @@ sigar_net_listen_address_get(sigar_t *sigar,
|
|||
sigar_net_address_t *address)
|
||||
{
|
||||
if (!sigar->net_listen ||
|
||||
sigar_cache_find(sigar->net_listen, port))
|
||||
!sigar_cache_find(sigar->net_listen, port))
|
||||
{
|
||||
sigar_net_stat_t netstat;
|
||||
int status =
|
||||
|
|
Loading…
Reference in New Issue