]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - net-tools/patches/net-tools-1.60-ipx.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-ipx.patch
diff --git a/net-tools/patches/net-tools-1.60-ipx.patch b/net-tools/patches/net-tools-1.60-ipx.patch
new file mode 100644 (file)
index 0000000..d4458b9
--- /dev/null
@@ -0,0 +1,36 @@
+diff -urN net-tools-1.60/lib/ipx_gr.c net-tools-1.60.new/lib/ipx_gr.c
+--- net-tools-1.60/lib/ipx_gr.c        2000-10-28 12:59:42.000000000 +0200
++++ net-tools-1.60.new/lib/ipx_gr.c    2003-05-20 10:54:37.000000000 +0200
+@@ -64,7 +64,7 @@
+           continue;
+       /* Fetch and resolve the Destination */
+-      (void) ap->input(5, net, &sa);
++      (void) ap->input(1, net, &sa);
+       strcpy(net, ap->sprint(&sa, numeric));
+       /* Fetch and resolve the Router Net */
+diff -urN net-tools-1.60/netstat.c net-tools-1.60.new/netstat.c
+--- net-tools-1.60/netstat.c   2003-05-20 11:00:57.000000000 +0200
++++ net-tools-1.60.new/netstat.c       2003-05-20 10:58:25.000000000 +0200
+@@ -1412,13 +1412,13 @@
+       }
+       /* Fetch and resolve the Source */
+-      (void) ap->input(4, sad, &sa);
++      (void) ap->input(0, sad, &sa);
+       safe_strncpy(buf, ap->sprint(&sa, flag_not), sizeof(buf));
+       snprintf(sad, sizeof(sad), "%s:%04X", buf, sport);
+       if (!nc) {
+           /* Fetch and resolve the Destination */
+-          (void) ap->input(4, dad, &sa);
++          (void) ap->input(0, dad, &sa);
+           safe_strncpy(buf, ap->sprint(&sa, flag_not), sizeof(buf));
+           snprintf(dad, sizeof(dad), "%s:%04X", buf, dport);
+       } else
+diff -urN net-tools-1.60/version.h net-tools-1.60.new/version.h
+--- net-tools-1.60/version.h   1970-01-01 01:00:00.000000000 +0100
++++ net-tools-1.60.new/version.h       2003-05-19 16:07:49.000000000 +0200
+@@ -0,0 +1 @@
++#define RELEASE "net-tools 1.60"