Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37758504
en ru br
ALT Linux repos
S:1.60-alt19
5.0: 1.60-alt15
4.1: 1.60-alt13
4.0: 1.60-alt13
3.0: 1.60-alt12

Group :: System/Configuration/Networking
RPM: net-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: net-tools-1.60-rh-ipx.patch
Download


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 +0200
+++ net-tools-1.60.new/lib/ipx_gr.c	2003-05-20 10:54:37 +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 +0200
+++ net-tools-1.60.new/netstat.c	2003-05-20 10:58:25 +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 +0100
+++ net-tools-1.60.new/version.h	2003-05-19 16:07:49 +0200
@@ -0,0 +1 @@
+#define RELEASE "net-tools 1.60"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin