9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: kazumi iwane <kiwane@mx6.ttcn.ne.jp>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ip/rarpd problem
Date: Mon,  9 Sep 2002 03:31:54 +0900	[thread overview]
Message-ID: <20020908183107.NSED5386.mta1p@isabella> (raw)
In-Reply-To: <20020905221725.LDPF17976.mta5p@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:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 12:26 presotto
2002-09-05 22:18 ` kazumi iwane
2002-09-08 18:31   ` kazumi iwane [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-09-08 18:35 presotto
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=20020908183107.NSED5386.mta1p@isabella \
    --to=kiwane@mx6.ttcn.ne.jp \
    --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).