From mboxrd@z Thu Jan 1 00:00:00 1970 From: kazumi iwane Subject: Re: [9fans] ip/rarpd problem To: 9fans@cse.psu.edu In-Reply-To: <20020905221725.LDPF17976.mta5p@isabella> References: <20020905221725.LDPF17976.mta5p@isabella> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: <20020908183107.NSED5386.mta1p@isabella> Date: Mon, 9 Sep 2002 03:31:54 +0900 Topicbox-Message-UUID: e6ec2e44-eaca-11e9-9e20-41e7f4b1d025 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