Subject: Re: [iproute PATCH] ip{,6}tunnel: have a shared stats parser/printer

From: Phil Sutter <[email-masked]>
Date: Fri, 18 Dec 2015 11:52:25 +0100

On Thu, Dec 17, 2015 at 05:14:21PM -0800, Stephen Hemminger wrote:
> I just fixed the sscanf formats and after that this patch caused build error.
> tunnel.c: In function ‘tnl_print_stats’:
> tunnel.c:211:13: error: ‘ptr’ undeclared (first use in this function)
>   if (sscanf(ptr, "%lu%lu%lu%lu%lu%lu%lu%*d%lu%lu%lu%lu%lu%lu%lu",
>              ^
> tunnel.c:211:13: note: each undeclared identifier is reported only once for each function it appears in
> <builtin>: recipe for target 'tunnel.o' failed

Ah, sorry. I obviously messed up conflict resolution while rebasing this
onto your master. Fixed version follows.

Thanks, Phil