# | Line 237 | Line 237 | network_stat_t *get_network_stats(int *entries){ | |
---|---|---|
237 | interfaces=0; | |
238 | ||
239 | while((fgets(line, sizeof(line), f)) != NULL){ | |
240 | < | if((regexec(®ex, line, 4, line_match, 0))!=0){ |
240 | > | if((regexec(®ex, line, 9, line_match, 0))!=0){ |
241 | continue; | |
242 | } | |
243 | network_stats=network_stat_malloc((interfaces+1), &sizeof_network_stats, network_stats); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |