# | Line 48 | Line 48 | int main(int argc, char **argv){ | |
---|---|---|
48 | ||
49 | printf("Name\tSpeed\tDuplex\n"); | |
50 | for(i = 0; i < iface_count; i++) { | |
51 | – | printf("%d\n", network_iface_stats->dup); |
51 | printf("%s\t%d\t", network_iface_stats->interface_name, network_iface_stats->speed); | |
52 | switch (network_iface_stats->dup) { | |
53 | case FULL_DUPLEX: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |