]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bpftool: Fix bpftool net output
authorAndrey Ignatov <rdna@fb.com>
Tue, 25 Sep 2018 22:20:37 +0000 (15:20 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 27 Sep 2018 19:07:44 +0000 (21:07 +0200)
commit53d6eb08e9f185834231d5c32499b10310cce3aa
tree3af030c96491185db1e27cd6b4d431b9b0f6d755
parent1042caa79e9351b81ed19dc8d2d7fd6ff51a4422
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>
tools/bpf/bpftool/netlink_dumper.h