From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: IPX networking
Date: Mon, 28 Oct 2002 19:16:50 +0300 [thread overview]
Message-ID: <3DBD62F2.5060109@yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 348 bytes --]
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:)
[-- Attachment #2: ipx_route.diff --]
[-- Type: text/plain, Size: 653 bytes --]
--- 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;
}
next reply other threads:[~2002-10-28 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-28 16:16 Stas Sergeev [this message]
2002-10-29 5:29 ` IPX networking Sergey Suleymanov
-- strict thread matches above, loose matches on Subject: below --
2002-10-28 13:25 Sergey Suleymanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DBD62F2.5060109@yahoo.com \
--to=stssppnn@yahoo.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox