Subject: Re: rarpd on 1.4.3
To: Nate Bohlmann <njb@elfwerks.com>
From: Krister Walfridsson <cato@df.lth.se>
List: port-i386
Date: 03/10/2001 15:49:53
On Fri, 9 Mar 2001, Nate Bohlmann wrote:
> Hi folks,
> I have a question about 1.4.3. I'm not sure this is the place for it
> but since I found this on an i386, I thought I'd post here. The problem
> has to do with rarpd. Quite simply, it doesn't work.
> [...]
This is due to a bug in src/lib/libc/net/ethers.c, and is solved by the
patch below.
/Krister
diff -u -r1.14.2.1 ethers.c
--- src/lib/libc/net/ethers.c 2000/10/19 18:34:33 1.14.2.1
+++ src/lib/libc/net/ethers.c 2001/02/23 23:27:24
@@ -187,7 +187,7 @@
#define S2(arg) #arg
#define S1(arg) S2(arg)
- const static char fmt[] = " %x:%x:%x:%x:%sx:%x"
+ const static char fmt[] = " %x:%x:%x:%x:%x:%x"
" %" S1(MAXHOSTNAMELEN) "s\n";
#undef S2
#undef S1