bpf, selftest: check tunnel type more accurately
authorJian Wang <jianjian.wang1@gmail.com>
Fri, 15 Jun 2018 01:22:17 +0000 (03:22 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Jun 2018 01:23:01 +0000 (03:23 +0200)
commit36ffdbc0a2d9f7280e49dbe5ea53c289ad112a8c
tree2c1faa35291d25eee87863f6a5b2971367f3984c
parent902196a56d4dee43c4a1702839b5272621908c6c
bpf, selftest: check tunnel type more accurately

Grep tunnel type directly to make sure 'ip' command supports it.

Signed-off-by: Jian Wang <jianjian.wang1@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_tunnel.sh