summaryrefslogtreecommitdiff
path: root/recipes/net-tools/files/net-tools-1.60-ipx.patch
blob: d4458b946239b744eb1fd5af6d2a05be1170caca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"