Package: net-tools
Version: 1.60-10
Severity: important
Tags: patch

*** Please type your report below this line ***

On 2.6.x kernels the /proc entry for IPX routes was changed.
The following patch shows how to make it work on 2.6.x only. The correct
fix should dynamically detect the actual layout of /proc.

Thanks !!! :-)

--- net-tools-1.60/lib/pathnames.h      2005-07-15 14:24:00.000000000
-0700
+++ net-tools-1.60.ipx/lib/pathnames.h  2005-07-15 14:01:56.000000000
-0700
@@ -29,7 +29,7 @@
 #define _PATH_PROCNET_ARP              "/proc/net/arp"
 #define _PATH_PROCNET_AX25             "/proc/net/ax25"
 #define _PATH_PROCNET_IPX              "/proc/net/ipx"
-#define _PATH_PROCNET_IPX_ROUTE                "/proc/net/ipx_route"
+#define _PATH_PROCNET_IPX_ROUTE                "/proc/net/ipx/route"
 #define _PATH_PROCNET_ATALK            "/proc/net/appletalk"
 #define _PATH_PROCNET_IP_BLK           "/proc/net/ip_block"
 #define _PATH_PROCNET_IP_FWD           "/proc/net/ip_forward"


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages net-tools depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared
libraries an

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to