9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ip/rarpd problem
Date: Sun,  8 Sep 2002 14:35:19 -0400	[thread overview]
Message-ID: <b81a175754f0bf4e5f346c66f041f861@plan9.bell-labs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 25 bytes --]

thanks, I'll fix sources.

[-- Attachment #2: Type: message/rfc822, Size: 1934 bytes --]

From: kazumi iwane <kiwane@mx6.ttcn.ne.jp>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ip/rarpd problem
Date: Mon, 09 Sep 2002 03:31:54 +0900
Message-ID: <20020908183107.NSED5386.mta1p@isabella>

kiwane@mx6.ttcn.ne.jp wrote:
>    if(write(edata, buf, 42) != 42)
>         error("write failed");
>
> gets Etoosmall.

I think it's because 42 < ETHERMINTU == 60, so I changed:

rarpd.c:159 c /n/sources/plan9/sys/src/cmd/ip/rarpd.c:159
< 		if(write(edata, buf, 60) != 60)
---
> 		if(write(edata, buf, 42) != 42)

and it is working now.

-- kazumi iwane

             reply	other threads:[~2002-09-08 18:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-08 18:35 presotto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-09-04 12:26 presotto
2002-09-05 22:18 ` kazumi iwane
2002-09-08 18:31   ` kazumi iwane
2002-09-04  8:42 Charles Forsyth
2002-09-04  0:35 presotto
2002-09-03 22:10 kazumi iwane

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=b81a175754f0bf4e5f346c66f041f861@plan9.bell-labs.com \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).