[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <480C8006.3060708@trash.net>
Date: Mon, 21 Apr 2008 13:52:38 +0200
From: Patrick McHardy <kaber@...sh.net>
To: hadi@...erus.ca
CC: Stephen Hemminger <shemminger@...tta.com>, netdev@...r.kernel.org
Subject: Re: [PATCH 3/3] [TC/U32] Infrastructure for pretty printing
jamal wrote:
> case 0x0f000000:
> - fprintf(f, "\n ihl %u", ntohl(key->val) >> 24);
> + fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24);
> return;
> case 0x00ff0000:
> - fprintf(f, "\n dsfield %#x", ntohl(key->val) >> 16);
> + fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16);
> return;
> }
So far the dump output can be cut-and-pasted and is
properly parsed again (useful for example for deletion).
Does that still work with pretty printing?
--
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