buen dia
Hello.
Quoted 2 lines · Enrique Baraibar
The question is how can I redirect it so it looks for
ipx_routein proc/net/ipx instead of/proc/net
This is hardcoded in ipxglt.c - just change that file and recompile. This was changed between 2.4 and 2.6 kernel series, and now dosemu needs a runtime check.
Quoted 5 lines · On Sat, 24 Apr 2004 17:33:30 +0400 Stas Sergeev <[email protected]> wrote:
Hello.
Quoted 2 lines · Enrique Baraibar
The question is how can I redirect it so it looks for
ipx_routein proc/net/ipx instead of/proc/net
Quoted 9 lines
This is hardcoded in
ipxglt.c- just
change that file and recompile.
This was changed between 2.4 and 2.6
kernel series, and now dosemu needs
a runtime check.
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Gerardo, traduzco lo que dijo Stas:
Esto está fijado en ipxglt.c - sólo cambia ese archivo y recompila. Esto fue cambiado entre las series 2.4 y 2.6 del kernel, y ahora dosemu necesita una revisión del runtime.
Signature · 6 lines
Enrique Baraibar - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Apr 24, 2004 at 05:33:30PM +0400, Stas Sergeev wrote
Quoted 11 lines
Hello.
Quoted 2 lines · Enrique Baraibar
The question is how can I redirect it so it looks for
ipx_routein proc/net/ipx instead of/proc/netThis is hardcoded in
ipxglt.c- just change that file and recompile. This was changed between 2.4 and 2.6 kernel series, and now dosemu needs a runtime check.
Michael Karcher wrote a runtimecheck I'm using now. cvs diff returns the following for src/dosext/net/net/ipxglt.c:
< open_proc_scan("/proc/net/ipx_route");
---
Quoted 6 lines
if(access("/proc/net/ipx/route",R_OK) == 0)
open_proc_scan("/proc/net/ipx/route");
else if(access("/proc/net/ipx_route",R_OK) == 0)
open_proc_scan("/proc/net/ipx_route");
else
return 0;Reinhard
Quoted 12 lines · Reinhard Karcher
On Sat, Apr 24, 2004 at 05:33:30PM +0400, Stas Sergeev wrote
Quoted 11 lines
Hello.
Quoted 2 lines · Enrique Baraibar
The question is how can I redirect it so it looks for
ipx_routein proc/net/ipx instead of/proc/netThis is hardcoded in
ipxglt.c- just change that file and recompile. This was changed between 2.4 and 2.6 kernel series, and now dosemu needs a runtime check.
Quoted 10 lines
Michael Karcher wrote a runtimecheck I'm using now. cvs diff returns the following for
src/dosext/net/net/ipxglt.c:
<open_proc_scan("/proc/net/ipx_route");
---Quoted 6 lines
if(access("/proc/net/ipx/route",R_OK) == 0) open_proc_scan("/proc/net/ipx/route"); else if(access("/proc/net/ipx_route",R_OK) == 0) open_proc_scan("/proc/net/ipx_route"); else return 0;
thanks! I was going to do something like this but now I know it's tested as well. "cvs diff -u" would have been nicer by the way.
Bart
Index: ipxglt.c
===================================================================
RCS file: /cvsroot/dosemu/dosemu/src/dosext/net/net/ipxglt.c,v retrieving revision 1.2
ipxglt.c +6 -1
@@ -81,7 +81,12 @@sprintf (buf_node,"%02X%02X%02X%02X%02X%02X" , node[0 ], node[1 ], node[2 ], node[3 ], node[4 ], node[5 ]); -open_proc_scan ("/proc/net/ipx_route" ); +if (access ("/proc/net/ipx/route" ,R_OK ) ==0 ) +open_proc_scan ("/proc/net/ipx/route" ); +else if (access ("/proc/net/ipx_route" ,R_OK ) ==0 ) +open_proc_scan ("/proc/net/ipx_route" ); +else +return 0 ; proc_str =get_proc_string_by_key (buf_targ);if (!proc_str) {