Re: [PATCH bpf-next] bpftool: Fix bpftool net output

2018-09-26 Thread Daniel Borkmann
On 09/26/2018 12:20 AM, Andrey Ignatov wrote: > Print `bpftool net` output to stdout instead of stderr. Only errors > should be printed to stderr. Regular output should go to stdout and this > is what all other subcommands of bpftool do, including --json and > --pretty formats of `bpftool net` itse

Re: [PATCH bpf-next] bpftool: Fix bpftool net output

2018-09-25 Thread Song Liu
On Tue, Sep 25, 2018 at 3:25 PM Andrey Ignatov wrote: > > Print `bpftool net` output to stdout instead of stderr. Only errors > should be printed to stderr. Regular output should go to stdout and this > is what all other subcommands of bpftool do, including --json and > --pretty formats of `bpftoo

[PATCH bpf-next] bpftool: Fix bpftool net output

2018-09-25 Thread Andrey Ignatov
Print `bpftool net` output to stdout instead of stderr. Only errors should be printed to stderr. Regular output should go to stdout and this is what all other subcommands of bpftool do, including --json and --pretty formats of `bpftool net` itself. Fixes: commit f6f3bac08ff9 ("tools/bpf: bpftool: