Re: [PATCHv v3] tools lib traceevent: Add support for IP address formats

From: David Ahern
Date: Thu Dec 18 2014 - 21:02:18 EST


On 12/18/14 7:00 PM, Valdis.Kletnieks@xxxxxx wrote:
On Thu, 18 Dec 2014 18:43:10 -0700, David Ahern said:
Adds helper for following kernel formats:
%pi4 print an IPv4 address with leading zeros
%pI4 print an IPv4 address without leading zeros
%pi6 print an IPv6 address without colons
%pI6 print an IPv6 address with colons
%pI6c print an IPv6 address with colons

%pI6c print an IPv6 address *in compressed form* with colons.


damn it. I misunderstood your comment before. Thanks for the follow up.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/