Date: Fri, 07 Jan 2011 21:16:22 -0500 From: Boris Kochergin <spawk@acm.poly.edu> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-net@freebsd.org, Sergey Kandaurov <pluknet@gmail.com>, delphij@FreeBSD.org Subject: Re: NDP Ethernet address display Message-ID: <4D27C8F6.9030803@acm.poly.edu> In-Reply-To: <4D27C73E.8040907@FreeBSD.org> References: <4D27AF1D.2030505@acm.poly.edu> <AANLkTinhoqTsjrgYqZZVFJ610L7eHqfjU-vzPVqcHXpt@mail.gmail.com> <4D27C55D.8070200@acm.poly.edu> <4D27C73E.8040907@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/07/11 21:09, Doug Barton wrote: > On 01/07/2011 18:01, Boris Kochergin wrote: > >>>> - snprintf(hbuf, sizeof(hbuf), "%x:%x:%x:%x:%x:%x", > > There are numerous examples of this string in the tree. Some of them > seem like they may be correct, but many of them are obviously printing > out mac addresses and should be converted, one way or another: > > http://dougbarton.us/mac-padding.txt > > In any case, thanks to Xin for fixing this one so quickly. :) > > > Doug > The sscanf() calls are definitely fine. I made sure to test that bit in ndp(8). Thanks, Xin! -Boris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D27C8F6.9030803>