lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 26 Oct 2008 01:03:29 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	johannes@...solutions.net
Cc:	anders@...uras.de, netdev@...r.kernel.org
Subject: Re: [PATCH] add %pM printf format specifier

From: Johannes Berg <johannes@...solutions.net>
Date: Sun, 26 Oct 2008 09:01:36 +0100

> On Sat, 2008-10-25 at 19:44 +0200, Sven Anders wrote:
> > Johannes Berg schrieb:
> > > This adds a new printf format specifier for the kernel, %pM,
> > > to be used to print out MAC addresses. This has advantages
> > > over the current print_mac scheme:
> > >  * no need for DECLARE_MAC_BUF
> > >  * can be used safely in statements that might be compiled
> > >    out without the print_mac call staying.
> > 
> > Nice, have you though of something similar for IPv4 and IPv6
> > adresses?
> 
> Not really, are they printed often? I haven't had to touch much code
> that printed IP addresses. Nor have I seen them in logs a lot.

It would be a nice future project for someone.  But don't worry
about it for now.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ