summaryrefslogtreecommitdiff
path: root/packages/net-tools/files/net-tools-1.60-statalias.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-10-26 13:02:54 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-10-26 13:02:54 +0000
commit85c7d84780764f9d6a063a07435734b854c2132d (patch)
tree4d40828673469fc3b5d01b156d230456ee90e307 /packages/net-tools/files/net-tools-1.60-statalias.patch
parente8b53dabb69255ec4772b07b2c5ea92d3addd1ed (diff)
parent484d308e167d41e5b28e81ccbdcfc59932139696 (diff)
merge of '1d92511895390061fd3632d482db7306357d2698'
and '1db4aa570f4ea8df95e32e241f2b2e7e6f87ab3f'
Diffstat (limited to 'packages/net-tools/files/net-tools-1.60-statalias.patch')
-rw-r--r--packages/net-tools/files/net-tools-1.60-statalias.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/net-tools/files/net-tools-1.60-statalias.patch b/packages/net-tools/files/net-tools-1.60-statalias.patch
new file mode 100644
index 0000000000..7c74f74d07
--- /dev/null
+++ b/packages/net-tools/files/net-tools-1.60-statalias.patch
@@ -0,0 +1,15 @@
+--- net-tools-1.60/lib/interface.c.statalias 2005-01-07 12:49:14.084104032 +0100
++++ net-tools-1.60/lib/interface.c 2005-01-07 12:49:38.527388088 +0100
+@@ -395,9 +395,11 @@
+ char *s, name[IFNAMSIZ];
+ s = get_name(name, buf);
+ get_dev_fields(s, ife);
+- ife->statistics_valid = 1;
+ if (target && !strcmp(target,name))
++ {
++ ife->statistics_valid = 1;
+ break;
++ }
+ }
+ if (ferror(fh)) {
+ perror(_PATH_PROCNET_DEV);