Skip to content
Snippets Groups Projects
Commit dc378a1a authored by Matteo Croce's avatar Matteo Croce Committed by Alexei Starovoitov
Browse files

samples: bpf: get ifindex from ifname


Find the ifindex with if_nametoindex() instead of requiring the
numeric ifindex.

Signed-off-by: default avatarMatteo Croce <mcroce@redhat.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent d606ee5c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment