# | Line 376 | Line 376 | network_iface_stat_t *get_network_iface_stats(int *ent | |
---|---|---|
376 | static network_iface_stat_t *network_iface_stats; | |
377 | network_iface_stat_t *network_iface_stat_ptr; | |
378 | static int sizeof_network_iface_stats=0; | |
379 | < | static int ifaces; |
379 | > | int ifaces = 0; |
380 | ||
381 | #ifdef SOLARIS | |
382 | kstat_ctl_t *kc; | |
# | Line 396 | Line 396 | network_iface_stat_t *get_network_iface_stats(int *ent | |
396 | char line[8096]; | |
397 | int sock; | |
398 | #endif | |
399 | < | ifaces = 0; |
399 | > | |
400 | #ifdef ALLBSD | |
401 | if(getifaddrs(&net) != 0){ | |
402 | return NULL; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |