Subject: lib/1696: bug in ether_ntoa (or feature? 8^)
To: None <maja@celsiustech.se>
From: Gordon W. Ross <gwr@mc.com>
List: netbsd-bugs
Date: 10/26/1995 19:02:14
> Date: Thu, 26 Oct 1995 21:13:14 +0100
> From: maja@celsiustech.se
> >Number: 1696
> >Category: lib
> >Synopsis: ether_ntoa isn't a la Sun (as claimed)
> >Originator: Mats O Jansson
> >Description:
>
> usr/src/lib/libc/net/ethers.c claims to be an implemenation a la Sun.
> But ether_ntoa returns a string different from the one returned by
> SunOS 4 and AIX.
> >How-To-Repeat:
> If ether_ntoa is called with an struct ether_addr containing the
> ethernet address 08:00:20:f:47:11
>
> SunOS will return a string "8:0:20:f:47:11" but
> NetBSD will return "08:00:20:0f:47:11".
That's funny, I always found it annoying that SunOS formatted
those addresses with variable width...
Bug or feature? (Depends on your point of view. 8^)
Gordon Ross