]>
Commit | Line | Data |
---|---|---|
236898d6 MT |
1 | --- net-tools-1.60/lib/interface.c.statalias 2005-01-07 12:49:14.084104032 +0100 |
2 | +++ net-tools-1.60/lib/interface.c 2005-01-07 12:49:38.527388088 +0100 | |
3 | @@ -395,9 +395,11 @@ | |
4 | char *s, name[IFNAMSIZ]; | |
5 | s = get_name(name, buf); | |
6 | get_dev_fields(s, ife); | |
7 | - ife->statistics_valid = 1; | |
8 | if (target && !strcmp(target,name)) | |
9 | + { | |
10 | + ife->statistics_valid = 1; | |
11 | break; | |
12 | + } | |
13 | } | |
14 | if (ferror(fh)) { | |
15 | perror(_PATH_PROCNET_DEV); |