commit | dc378a1ab5b6009629a3f8410f8b3030ac6b14c9 | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@redhat.com> | Sat Dec 01 01:23:06 2018 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Nov 30 22:06:41 2018 -0800 |
tree | cdd8e745aba4dd3f7eeb1c8d4c6630e2deb4f56a | |
parent | d606ee5c1d9a9bc4d1bba3c36fae615447f9851c [diff] |
samples: bpf: get ifindex from ifname Find the ifindex with if_nametoindex() instead of requiring the numeric ifindex. Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>