Subject: Re: [PATCH 3/3] [TC/U32] Infrastructure for pretty printing

From: Patrick McHardy <[email-masked]>
Date: Mon, 21 Apr 2008 13:52:38 +0200

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?