]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - net-tools/patches/006-net-tools-statalias.patch
net-tools: Drop package
[people/pmueller/ipfire-3.x.git] / net-tools / patches / 006-net-tools-statalias.patch
diff --git a/net-tools/patches/006-net-tools-statalias.patch b/net-tools/patches/006-net-tools-statalias.patch
deleted file mode 100644 (file)
index b544ff4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -up net-tools-2.0/lib/interface.c.statalias net-tools-2.0/lib/interface.c
---- net-tools-2.0/lib/interface.c.statalias    2012-10-04 11:33:05.490889090 +0200
-+++ net-tools-2.0/lib/interface.c      2012-10-04 11:33:05.513888785 +0200
-@@ -405,9 +405,11 @@ static int if_readlist_rep(char *target,
-       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);