diff options
| author | 2018-09-25 15:20:37 -0700 | |
|---|---|---|
| committer | 2018-09-27 21:07:44 +0200 | |
| commit | 53d6eb08e9f185834231d5c32499b10310cce3aa (patch) | |
| tree | 3af030c96491185db1e27cd6b4d431b9b0f6d755 /lib/test_bpf.c | |
| parent | net-ipv4: remove 2 always zero parameters from ipv4_redirect() (diff) | |
| download | wireguard-linux-53d6eb08e9f185834231d5c32499b10310cce3aa.tar.xz wireguard-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
