updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ipxripd / 0003-Update-paths-to-proc-net-ipx.patch
blob1ab05738d5416da0e60bcd40166e5c6b6cd03dca
1 From 15461db994558914ece9cd83811deb65273bc410 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <grawity@gmail.com>
3 Date: Sat, 7 Jan 2012 22:38:37 +0200
4 Subject: [PATCH 3/3] Update paths to /proc/net/ipx_*
6 ---
7 ipx_ticks.5 | 2 +-
8 ipxd.8 | 4 ++--
9 ipxkern.c | 8 ++++----
10 3 files changed, 7 insertions(+), 7 deletions(-)
12 diff --git a/ipx_ticks.5 b/ipx_ticks.5
13 index bada524..578ef31 100644
14 --- a/ipx_ticks.5
15 +++ b/ipx_ticks.5
16 @@ -11,7 +11,7 @@ file contains the configuration information required by ipxd, the IPX
17 RIP/SAP daemon.
19 The RIP/SAP daemon can find out nearly all information it needs to run
20 -properly by scanning the file /proc/net/ipx_interfaces, and by asking
21 +properly by scanning the file /proc/net/ipx/interfaces, and by asking
22 other routers and servers on the net. The only information it can not
23 get this way is the time it takes to send a packet over the different
24 interfaces. This information is required by the IPX RIP protocol. It
25 diff --git a/ipxd.8 b/ipxd.8
26 index 0c539c1..ea910e5 100644
27 --- a/ipxd.8
28 +++ b/ipxd.8
29 @@ -20,7 +20,7 @@ The IPX RIP/SAP daemon
30 .B ipxd
31 is invoked at boot time to manage the kernel IPX routing tables.
33 -When ipxd is started, it scans the file /proc/net/ipx_interfaces to
34 +When ipxd is started, it scans the file /proc/net/ipx/interfaces to
35 find the ipx networks the computer is directly connected to. It sends
36 the RIP and SAP response and request packets required by the IPX
37 router specification v1.20 to the interfaces it found, so that an
38 @@ -33,7 +33,7 @@ the full router functionality required by the IPX router specification
39 v1.20 is hopefully implemented.
41 Every 30 seconds, as well as on request by a HUP signal, the file
42 -/proc/net/ipx_interfaces is re-scanned. Changes in the network
43 +/proc/net/ipx/interfaces is re-scanned. Changes in the network
44 topology are detected this way and broadcasted appropriately. This
45 could eventually make Linux a quite flexible IPX router.
47 diff --git a/ipxkern.c b/ipxkern.c
48 index 76dfd5c..c6a5a49 100644
49 --- a/ipxkern.c
50 +++ b/ipxkern.c
51 @@ -51,11 +51,11 @@ ipx_kern_scan_rtable(IPXrtScanFunc f, void *data)
52 FILE *ipx_route;
53 char buf[512];
55 - ipx_route = fopen("/proc/net/ipx_route", "r");
56 + ipx_route = fopen("/proc/net/ipx/route", "r");
58 if (ipx_route == NULL)
60 - sprintf(ipx_err_string, "open ipx_route: %s",
61 + sprintf(ipx_err_string, "open ipx/route: %s",
62 strerror(errno));
63 return -1;
65 @@ -109,11 +109,11 @@ ipx_kern_scan_ifaces(IPXifcScanFunc f, void *data)
66 FILE *ipx_ifc;
67 char buf[512];
69 - ipx_ifc = fopen("/proc/net/ipx_interface", "r");
70 + ipx_ifc = fopen("/proc/net/ipx/interface", "r");
72 if (ipx_ifc == NULL)
74 - sprintf(ipx_err_string, "open ipx_interface: %s",
75 + sprintf(ipx_err_string, "open ipx/interface: %s",
76 strerror(errno));
77 return -1;
79 --
80 1.7.8.1