From 7bfd04605061f3335e7ca19dd968af136fb22201 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Thu, 26 Oct 2006 12:38:27 +0000 Subject: packages: Add net-tools to OpenEmbedded --- packages/net-tools/files/net-tools-1.60-statalias.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/net-tools/files/net-tools-1.60-statalias.patch (limited to 'packages/net-tools/files/net-tools-1.60-statalias.patch') 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); -- cgit v1.2.3