Hello.

Sergey Suleymanov wrote:
When I run dosemu without root privs, it says: (here 333 is
internal net of the native NetWare server) ERROR: IPX: Failure adding route <00000333 through 00000111:000000000001>
Is this ok?
Doesn't look healthy to me.
Does this patch help?
Patch is completely untested, but it compiles:)
--- src/dosext/net/net/ipxglt.c Sun Oct 27 17:35:39 2002
+++ src/dosext/net/net/ipxglt.c Mon Oct 28 19:03:27 2002
@@ -109,8 +109,20 @@
        sscanf(proc_str, "%s %s", proc_net, proc_node);
        close_proc_scan();
 
-       if (strcmp(buf_net, proc_net) || strcmp(buf_node, proc_node))
-               return 0;
+       if (strcmp(buf_net, proc_net) || strcmp(buf_node, proc_node)) {
+               open_proc_scan("/proc/net/ipx_interface");
+               proc_str = get_proc_string_by_key(buf_net);
+               if (!proc_str) {
+                       close_proc_scan();
+                       return 0;
+               }
+               if (!strstr(proc_str, "Internal")) {
+                       close_proc_scan();
+                       return 0;
+               }
+               close_proc_scan();
+               /* fall through */
+       }
 
        return 1;
 }


Reply via email to