On 6/5/18 1:44 PM, Keara Leibovitz wrote:
> Add json output support for checksum action.
> 
...

>     
> Signed-off-by: Keara Leibovitz <kl...@mojatatu.com>
> ---
>  tc/m_csum.c | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)
> 
> diff --git a/tc/m_csum.c b/tc/m_csum.c
> index 8391071d73f2..0bdbcf361a28 100644
> --- a/tc/m_csum.c
> +++ b/tc/m_csum.c
> @@ -162,6 +162,7 @@ print_csum(struct action_util *au, FILE *f, struct rtattr 
> *arg)
>       char *uflag_5 = "";
>       char *uflag_6 = "";
>       char *uflag_7 = "";
> +     char buf[64];

changed that line to 'SPRINT_BUF(buf);' per Stephen's comment and
applied to iproute2-next.

Reply via email to