]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - net-tools/patches/net-tools-1.60-statalias.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-statalias.patch
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);