]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - net-tools/patches/net-tools-1.60-netstat-I-fix.patch
Move all packages to root.
[people/pmueller/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-netstat-I-fix.patch
diff --git a/net-tools/patches/net-tools-1.60-netstat-I-fix.patch b/net-tools/patches/net-tools-1.60-netstat-I-fix.patch
new file mode 100644 (file)
index 0000000..ab89201
--- /dev/null
@@ -0,0 +1,10 @@
+--- net-tools-1.60/netstat.c.old       2006-10-02 12:03:49.000000000 +0200
++++ net-tools-1.60/netstat.c   2006-10-02 12:02:12.000000000 +0200
+@@ -2233,6 +2233,7 @@ int main
+           break;
+       case 'I':
+             if (optarg && strcmp(optarg, "(null)"))
++              if (optarg[0] == '=') optarg++;
+                 flag_int_name = strdup(optarg);
+           flag_int++;
+           break;