diff options
author | Andrey Ignatov <rdna@fb.com> | 2018-09-25 15:20:37 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-09-27 21:07:44 +0200 |
commit | 53d6eb08e9f185834231d5c32499b10310cce3aa (patch) | |
tree | 3af030c96491185db1e27cd6b4d431b9b0f6d755 /lib/test_bpf.c | |
parent | 1042caa79e9351b81ed19dc8d2d7fd6ff51a4422 (diff) | |
download | linux-53d6eb08e9f185834231d5c32499b10310cce3aa.tar.gz linux-53d6eb08e9f185834231d5c32499b10310cce3aa.tar.bz2 linux-53d6eb08e9f185834231d5c32499b10310cce3aa.zip |
bpftool: Fix bpftool net output
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: add net support")
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions