Re: [RFC PATCH 3/5] net/ipv4, net/ipv6: use %#p6, %p6 formatstrings

From: Johannes Berg
Date: Tue Oct 28 2008 - 04:26:28 EST


On Mon, 2008-10-27 at 22:47 -0700, Joe Perches wrote:
> On Mon, 2008-10-27 at 22:35 -0700, Harvey Harrison wrote:
> > I thought about this, and it will work if the one place that passes
> > NIP6_FMT into sscanf gets changed at the same time. Otherwise,
> > doing it in-place is probably safer.
>
> Maybe sscanf should be updated to support these new %p<foo> types.

That would be an interesting thing too, though it makes little sense for
F, S and R.

I, however, just wanted to get rid of DECLARE_MAC_BUF :)

johannes

Attachment: signature.asc
Description: This is a digitally signed message part